Prime Minister Theresa May is expected to win a confidence vote despite a crushing defeat over her Brexit deal that triggered warnings of a chaotic "no-deal" divorce.