 FACT: The premise of the movie that by making a star explode you  will remove the gravity of it is flawed. The only way to make the  gravity disappear is to make the matter of the star disappear. No  matter how much it "explodes", the matter and its center of gravity  remains, meaning no alteration to the course of the ribbon.