Fixed a bug where the AI could refuse to move into a guaranteed loss situation.