The U.S. and Canada had been in talks for weeks on a potential deal for the steel and aluminum sectors.