Violence has erupted in several parts of northern and central India as thousands of dalits, members of Hinduism's lowest caste, protested over an order from the country's top court that they say dilutes legal safeguards put in place for their marginalised community.