President Donald Trump said Defense Secretary Pete Hegseth would keep his position, even while acknowledging the Iran war contributed to Republican midterm losses.