I think the retreat behavior is just to go to the nearest edge of the map. So if your guys are halfway across the map, they are likely to run through the enemy. And no, retreat applies to all reinforcement waves so you do no need to keep using the command.