Being a drug addict and a small time hustler doesn't give the cops the right to murder him. They intended on torturing him and (maybe) accidentally killed him.
If he punched some old lady in the face and stole her purse then a beating is probably a reasonable response but passing off fake $20's to support his drug habit isn't deserving of torture and death.
Arrest the guy and move on.