Theresa May's deal defeated by 149 votes