Nifty closes above 23,850; Banking stocks rally 1,000 points