The surprise trade deal gives both sides breathing space to find a way to preserve a trading relationship that was threatening to grind to a halt