Ivory Coast announced on Tuesday that French troops will leave the country after a decadeslong military presence, the latest African nation to downscale military ties with its former colonial power.