In Mattis resignation, a singular challenge to Trump’s agenda