It is usually a no win for cops. If they hadn't intervened accordingly, then they'd be blamed after the loon killed people. They intervene, and now they are killers.
You assess the risk and act on it. A man with 2 guns not willing to put them down is a danger to EVERYONE. I hate he died for his actions, but better him than innocents.