The Danish editor who commissioned the Mohammed cartoons that triggered deadly protests a decade ago says he’s leaving the Jyllands-Posten newspaper.