UK Prime Minister Boris Johnson is set to call a general election if MPs pass a vote that would prevent a no-deal Brexit.