Partition was a loss for both Hindus and Muslims: Madani