Not that this is the optimum way to respond to an armed robbery, but hey at least nobody had to die.
By the way I would just like to point out that the two men were well within their rights to use deadly force. That is an appropriate response when somebody pulls a gun on you. The fact that they did not shows restraint. The kind of restraint not available when you use a gun.