I'm afraid not.
This wouldn't fix AI behaviour, only the bug that makes AI not try to rebuild buildings (destroyed before their completion)
I'll try to create some tool that enables us to reset "stuck buildings" for compies, I don't know if it's possible and if this could be done automatically (maybe it will require manual action).
If it's possible, I already think I would use a timer, because if I reset a building immediatly after it's been destroyed, AI will try to rebuild immediatly (and it will be destroyed again).
I don't think BinaryPatcher could solve this bug, it's too complicated.
Edit:
omg I think I may have found a way to fix another "bug"
Comp. villagers gather almost only gold and not much food/wood, especially in iron age. It could be possible to customize the AI "commands" that set gather type percentages (and decrease the "gold" ones).
[This message has been edited by chab (edited 05-26-2013 @ 10:18 AM).]