James K. Polk ended a binary dispute with the British in 1846 with what treaty?