Donald Trump's allies have tried in vain to persuade him to stop venting his rage against “enemies from within" in the campaign's waning days.