Fix AI not repairing buildings if struck by support powers.

AI wasn't initiating repairs when struck by support powers.

Fixed by moving the "Is the attacker still alive" checks to after the initiate repairs code.