Brett McGurk, the special presidential envoy to the coalition fighting the Islamic State, announced his resignation days after Secretary of Defense James Mattis also resigned.