The aliens were not super-beings. They couldn't do anything that their human hosts could not do. They were reliant on their spaceships and so forth. Couldn't Starfleet have simply prevented anyone from leaving the planet rather than have to commit genocide to stop the parasites from spreading?