India's top court orders release of minors detained during protests