Oil gains on U.S.-China deal, but IEA forecast pressures prices