You're asking for a solution to the problem of people killing other people.
Our lawmakers know just as well as we do, that more laws won't fix events like these, but better messaging ("See something say something"), better trained police officers, etc.. these are things that are controllable, changeable, and have a hugely positive impact on preventing horrible things like this from happening.