While it's true that foreign action generally ranks close to the bottom of the electorates concerns (unfortunately) that doesn't mean it's not without consequence. The protracted state of affairs in the ME as a result of the Bush administration was absolutely behind some effective campaigning. While people may not go to the voting booth expressly to vote for a candidate who says they won't get involved you can bet it factors in to people's decision when voting against someone who's doing so. The problem with many voters being ill informed doesn't really extend to "we're running up a huge bill and putting servicemen at risk for a war that's not our problem". That sort of rhetoric can be effective and in this case it could be positive for those of us who would like to see trump out of officeamericans don't actually give a fuck about foreign intervention, the war economy is designed to minimize the impact on privileged as little as possible, the poor that are sent off to war are either 100% bought into military culture or so alienated by the system that they don't vote.
foreign policy ranks near the bottom of things voters are concerned about come election time. and liberals are very jaded about any promises to pull out of ongoing campaigns post Obama.
it won't hurt Trump at all, or very little and if Iran respond with on-the-soil attacks in the US it will absolutely help him (I don't think Iran will do this)
All that aside, I was just trying to illustrate that despite what some people seem to think, a majority of Americans are not in favor of military action generally speaking. That point still stands