hum.. Not really a solution, but maybe a hack to allow you to keep going:
Do you have save scumming turned on in the options? If not, turn it on. Often it is possible to get the AI to do something else (shoot instead of grenades, move somewhere else, etc.), which may avoid getting in the situation where the bug happens.