Fix incomplete removal of nodes in dominator reduction pass