BA: fix few defender and factory issues
- return defenders to their ward after they've stopped and aren't near threats anymore
- fix outmoding factories when only one mtype is outmoded
- fix bug when nothing to defend