Fix a bug in SelectionDAG's ReplaceAllUsesWith in the case where