Last-hour rebound rescues Nifty; closes above 24,400

Market recovers nearly 170 points from lows