removeDeadBuildStatesNs