It's been awhile since I've seen the movie, but didn't the Enterprise arrive and Earth was already assimilated? They went back and waited for the Borg, right? And even if I'm wrong, the Enterprise could easily destroy the Borg Sphere, so nesting in the Enterprise was the right decision.