Envoy to anti-ISIL coalition resigns