One doesn't justify the other though - the officers may be poorly trained to handle stress, their higher-ups may be corrupt but a rampage is still a rampage and has to be dealt with somehow. The situation has to be contained because unlike your usual culprit, a mad man will not stop until the plan reaches its completion - if anything, his methods will gradually become more elaborate.Just as I said, a slap on the wrist.
I sincerely hope that both the officers guilty of misconduct and the shooter in question will be prosecuted to the highest extent of the law, but the law is something we need to hold onto here.