Military officials admit Trump almost ruined the Al-Baghdadi raid