Prime Minister Theresa May has said the agreed Brexit deal is in the best interests of the whole of the UK.