It cannot be that a normal person or even worse, a victim, tries bringing justice (or at least what they personally believe to be justice) to criminals (or people they believe to be criminals), because they are not trained policement that know their limits, nor are they usually judges.
I am not saying that a normal person should not use self defense, I definitely would, but there are limits to what is considered an appropriate reaction.
I cannot kill someone if the person doesn't show aggression towards me or someone else. (a burglar breaking into my home)
Likewise I cannot beat someone into unconsciousness if I could have just held that person down until police arrives.
What did your friend do to the robber after he disarmed him? Could he just have held him down? What kind of aggression did he use? From your description many things are possible, from slapping him, to breaking his spine and many things in between.
The same goes for the policemen. Did they needlessly risk or cause the death of innocent bystanders? That is also something that policemen must consider before they do anything that could start a shooting.
A family member once told me a story about a friend of him who's a Judo instructor. The guy was waiting at a bus stop and someone attempted to bug him at gunpoint (a daily occurrence in big Brazilian cities). The guy was able to immobilize the criminal and take his gun, but since he resisted and attempted to fight, he beat him enough that he didn't have any more energy to keep fighting. He then called the Police. Guess what? He was detained for having beaten the criminal!
Stories like that are abundant in Brazil. My mom is a Judge there, so I've heard a fair share of those. Not only regular citizens get punished for giving criminals what they deserve, but police officers to. Once in the city where my mom worked there was a large police operation to arrest a group of drug dealers. It ended up bad with gun shots and all. The aftermath was that the officers that fired shots against the dealers were all in bad waters after that, and got suspended for a while. What's the point in that??