Don't check the private state in DoOnRemoval, check whether THIS event caused a restart.

rdar://problem/13788593
Fixed a test suite typo error that caused the test to fail.