France ends permanent military presence in West Africa