Fred: redo finish_turn CA

Adapt to using gamedata table, and move injured units to villages only
if that improves the counter attack statistics compared to their
current positions.