France is planning on leaving its permanent military bases in Senegal, making it the latest country to rid itself of French intervention