When you talk about violence being a positivie in solving a bank robberies, you should be talking about how to prevent bank robberies in the first place, rather than designing a solution that presumes the robbery is going to happen no matter what.
Violence has no place in human society, and we have appropriate solutions in place if a human wants to express similar emotions to violence (eg by playing sport, video games etc) that have net positive effects on society.