Did the bomb go off when he got shot coming out of the hole created to extract hostages?
Evidently not. If the killer had so chosen, he could have detonated it and killed almost everyone instantly.