State: envrionment.Destroy: safeguard destroying state server

Ensure envrionment.Destroy will not destroy the state server
environment unless it is the last environment. Update cleanup to
remove the environmentsC doc when cleaning up a destroyed environment.