Sensex, Nifty Resume Gains Amid Polls, Global Slowdown