May’s Brexit deal suffers historic defeat