British lawmakers overwhelmingly rejected Prime Minister Theresa May's divorce deal with the European Union.