Ok here are my two suggestions for solving this clusterfuck go into state of limbo thing AI does everytime it cant go through a door.
Suggestion 1: Make every door a double door. Simple, but time consuming.
Suggestion 2: Make the hex of the very door make players technically "Not exist" and all of everything can pass through even 100000 players may stand on hex at once, but this will cause realism and tacticul problems so thats not really the best option.....
Not the best suggestions I know but this shit needs to be solved.