My understanding - it's been a bit since I've read the book, so YMMV - was that it wasn't about *alien* genocide. That was the unexpected side effect, as far as Ender was concerned - in fact, that was the entire point of the immediate sequels - Ender trying to overcome his personal guilt.