NSE barometer Nifty50 pared gains but eventually managed to end higher, the first in seven sessions, as investors squared off positions on the expiry of June series futures & options contracts. The 50-pack Nifty closed the day at 9,497, up 6 points. The BSE Sensex pared all the gains after rising over 200 points earlier in the day and ended just 23 points higher at 30,857.