Benchmark indices extended gains from the previous session and ended higher on Thursday. Broader markets staged a sharp rebound from yesterday's selloff, outperforming their larger cap peers.