Brexit talks threatened amid reports UK attempting to renege on divorce terms as head of gov't's legal department quits.