Indian Oil Corp. shares up 0.42% as Nifty gains