Heinen’s goal ignites late surge, Penguins top Rangers 7-4