Brexit deal passes EU but a divided UK parliament will have the final say