Theresa May is expected to be defeated when MPs vote on the terms of the UK’s withdrawal from the EU later.