Oil and gas producer to pay millions to US to remedy pollution concerns