The company reported a bigger-than-expected third-quarter profit late on Thursday, with gains from its major units including the mainstay oils-to-chemicals segment, retail segment and telecom business