REC shares gain 0.52% as Sensex falls