British lawmakers will on Wednesday vote on whether they have confidence in the government, after Prime Minister Theresa May’s Brexit deal suffered a heavy defeat in parliament.