Sensex gains 300 pts, Nifty reclaims 24,000: Banking rally drives market recovery