Oil heads for the best month since early 2022 as market tightens