Remove a state's endpoints before removing the state itself from a StateViewCollection