The Group of Seven (G7) is moving toward reversing a commitment to halt the financing of overseas fossil-fuel projects by year’s end, a proposal now viewed favorably by most members, according to people familiar with the matter. G7 leaders meeting in the Bavarian Alps are converging on a reference to the increased role of gas projects, a consequence of Russia’s invasion of Ukraine straining their energy supply.