In a surprising turnaround, India’s stock market indices, Sensex and Nifty, erased intraday losses to close positively on Thursday.