Sporadic violence and presidential tussle put Côte d'Ivoire’s hard-won security at risk