Krauthammer says that the perpetrators of these incidents have either a grievance, an ideology or are deranged. This guy was deranged. Deranged people have lots of rights and no protections and others frequently become their victims.
Mental institutions were started in the US in the 19th century to deal with the problem of a crazy family member slaughtering his family. We need to refocus on protection from the deranged.