The AI does make decisions, I have seen enemies leave a downed party member when being attacked from range. I have also seen it try to finish off a party member when it's not in their interest. So if there is already a calculation being made, then maybe it just needs to be tweaked.