Market HIGHLIGHTS: Sensex ends 877 pts up from day’s low, Nifty above 17050; ICICI Bank, HDFC Bank top gainers