Oil on track for biggest monthly gain since March amid U.S.-Iran war