Yeah, that is a problem with the AI in MTW. It's never been the greatest at calculating when it's better to stand & fight (as opposed to constantly retreating). Aside from the other factions choosing poor moments to backstab you, this is probably my biggest pet peeve with the AI. For armies to not stand and defend even their last province is....absurd, at the least.