US Ukraine agree on critical minerals deal amid talks to end Russia war