The deal on steel and aluminum imports is seen as a compromise that sets the two allies on a new path on trade after years of antagonism.