The shake-up follows a leaked low-confidence assessment of June Iran strikes that conflicted with Trump's assertions.