Refinery margins, inventory gains to offset losses on petrol, diesel: Fitch