After an intense pressure campaign, Ukraine’s leader appears ready to sign a minerals pact with the U.S.