Fix bug in ServiceRegistryImpl.disable: the method was mistakenly marking registry's state as removed.