Negotiators had been working for weeks on a potential agreement to reduce President Trump’s steel and aluminum tariffs.