The bench headed by justice BV Nagarathna said that there should be a designated place for people of each religion to bury their dead