How do you avoid this? I've seen it happen to me, I've seen it happen to the AI...mostly the AI actually.
In case the expression is a bit unclear then what I'm talking about is this:
Faction A (either player or AI) invades Province 1 (belonging to Faction B). Faction B (AI) desides "they cannot win the battle" and retreats without a fight. Sometimes leaving a few hundred men to certain death in a pointless siege (the AI hardly sallies or rescue their ridiculously big garrisons), sometimes not.
A - who now has the upper hand - continue in the same way for a few rounds, taking 2, 3 and 4 untill B is left with only 5.
Unless B has left more than half its troops to die in said sieges, it will now have three full stacks in 5, while the surrounding provinces 1, 2, 3, 4 and 6 (belonging to C) are left with one or less. B will now attack the seemingly outnumbered A or possibly C, either reclaimin one of 1, 2, 3 or 4 or taking 6. Sometimes B will even leave 5 unprotected, allowing A or C to finish the job and taking it, while B is now stuck with a new, single, province.
Now, if you are faction A this might be a big problem as you suddenly face almost the same situation as in case of a re-emergance; you have a lot of weak provinces surrounding one strong. The AI trapped in this province must move on as the lands cannot feed them.
Of course, chances are this isn't very much of a problem anyway - especially if this is in High/Late and you're playing as a catholic, in which case you can out-tech the AI, letting its inferior but numerically superior troops die at the hand of your...whatever. But if faction A is an AI-faction and even worse your ally, this can cause more problems than it might seem. This particularly evident in the Iberian and the Levant in Early.
Both the Almohad/Almoravids and Egyptians/Fatamids are potential superpowers that will often create themselves use empires using their über units, possibly at your own expense. The Byz will often do exactly this to the Eggies. They push them back a little, "corner" them somewhere in the desert or in Anatolia and then the Eggies use their superior numbers to completely turn tables on their adversaries, sometimes sending an army by sea to Nicaea at the same time.
Actually, this turned out to sound less of a problem than I first thought... hmm... You could just consider this an analysis if this is no big deal to you.
Bookmarks