'Rogue' star hurtling through the Milky Way won't smash into our solar system after all