The withdrawal agreement looks set to be concluded but uncertainty remains over trade talks