Ukrainian Prime Minister Denys Shmyhal said his country and the United States have reached a preliminary agreement on a broad economic deal that includes American access to Ukraine’s rare earth minerals amid its three-year war with Russia.