Abdellatif Tahiri, départ et nouvelles fonctions