Fixed #2651: Units not in world should not be added to the attack force

Otherwise, a pillbox's e1 passenger is counted as part of the attack
force and ends up jamming HackyAI's attack logic until it is destroyed.