How oil-to-chemicals integration saved the day for RIL