President Donald Trump has lashed out at some his biggest former supporters in recent weeks after burgeoning opposition to his war on Iran.