Challenge #1: The hotel has hundreds of exits. You have, in the instant case, two men. At best, what, a dozen? Two? If you gave the Secret Service their pick of two dozen men, anybody they want, and ordered them to protect the same entrances, they would say "It can't be done". And preventing egress is every bit as hard.
Challenge #2: It takes high levels of training to hit a moving target by anything but luck. Your men likely don't have it.
Challenge #3: You can't pursue anyone who runs from the scene. You don't have the manpower and it crimps your kill-the-innocents game plan.
Challenge #4: Minutes after the incident starts armed adversaries start arriving. They have effectively infinite reinforcements. And you're totally cut off.
So the question for the terrorist game theoretician: how do you kill someone running from the scene of a terror incident? You don't. Your best bet is to herd, trap as many as you can, and slaughter at a leisurely pace while the cops set up a perimeter outside and wait for someone who knows what the #$'( they are doing to take command.
So if you're ever a civilian caught in a terrorist attack, and your primary objective is getting away: pick a direction, preferably away from other people. Run in a zigzag fashion. Make it behind cover (like another building), change direction, and beat feet -- nobody ever dies more than a block from the scene (except of injuries sustained at the scene).
Now, if you were a civilian whose primary goal was stopping the terror attack rather than individual survival: there are several hundred of you and two of them. They're holding guns, not the Spear of Destiny, and they're busy getting their jihadi high on. Run at the closest bad guy screaming bloody murder, tackle him, and stab him in the eye with your car keys. If there are two of you, split to two angles and do it. Hopefully other folks will follow your example -- if they do, the terrorists will end up with their faces stomped in (guns don't help much when you're on the floor getting kicked by 20 people) and most of the civilians in the building will not.
If you're the first cop on the scene, great, use what they've figured out about school shootings: the priority is NOT to contain the incident. That is the TERRORIST'S priority. YOUR priority is to get in there and start putting as many bullets in his general vicinity as possible, to give him other things to think about rather than "How do I take hostages, secure my position, and turn the inevitable rescue operation into a total bloodbath?" Terrorists who are busy taking cover behind an interior wall to avoid getting their heads blown off are terrorists who are not killing anyone presently. And remember, all you have to do is keep it up a few minutes for the civilians to bug out and the cavalry to arrive.