European leaders formally endorse Brexit deal, paving the way for British parliamentary vote next month.