My Footmen, Cleric and some of the enemy soldiers ignore enemies within their range.
They just do not want to fight.
But not everytime. It looks pretty random
It looks like this in your video
the footmen just walks away and only fights because of the attack order.
Version Number and Mods in use:
a0.23.0 r765 x64