I never approve of innocent killings. But I do believe such Insanity happens due to perceived sense of Grievance/Injustice or Brutalization by a set of people.
Muslims are not the only one to have shown such insanity out of perceived sense of Grievance or Brutalization. Hindus, christians and Sikhs have all shown it in recent history.
ONLY solution to this menace is STRONG SOCIAL JUSTICE SYSTEM wherein no clear cut murderer of innocent roams scot free.
If I am not wrong, some well known mass murderers remain above Indian Law and constitution, and system rewards them with CM seats, or golden throans.
Such System will have to change in favor of a TRULY JUST system.
Otherwise, I am afraid no matter what we do, this insanity will not end.