There are religious zealots that are prone to violence on all sides. The FBI should have temporarily suspended the gun license of the shooter when the investigations go serious.
As if the shooter would then duly divest himself of all weapons...
If someone is this dangerous, they should be under guard of some kind.