I am surprised to read that "moderate to severe depression" could be regarded as a sufficiently serious mental illness to constitute diminished responsibility for a horrific crime, but the news story is only very brief.
Nothing will bring back those who have lost their lives, and my thoughts and sympathy are with their families.