Theresa May’s Brexit deal defeated in historic commons vote