EU lawmakers reject attempts to block green investment rules