Muslims in the combined India made only 30% of the population. They were unarmed. The 70% Hindus and Sikhs were a much more formidable power and each of them was armed, Sikhs with their religiously ordained Kirpan (a small sword) and Hindus with their neo-Dharma Lathi (club) with 'gatka-trained' youth. So, at the end of the day, many more Muslims died and suffered permanent physical and mental disabilities than their counterparts.
But you are right, Muslims did not behave as they should have and the Hindus & Sikhs revealed their barbaric potential. Both parties are to be blamed, one more than the other depending on who says it. In my humble opinion, Lord Mountbatten, the last viceroy of India could have done a better job of keeping peace. He had the law enforcing powers under his control but he was too shattered with his wife Edwina rowing the romance boat with Pundit Nehru.
INDIA WINS FREEDOM by two American authors, although openly biased against Muslims, is a book with much details about the atrocious events and the history behind them.