Diversified crude supplies and a shift in export destinations helped the company navigate disruptions and capture stronger refining margins during the quarter