When U.S. special forces led an assault in March on a compound in northern Iraq belonging to the militant group Ansar al-Islam, U.S. officials said they had taken out a significant terrorist threat.