Nifty rebounds sharply, reclaiming 24,800; Defence, midcaps lead rally