Global developments helped some segments of India’s markets and hit others