Add a new argument to ReplaceAllUsesWith to keep track of nodes deleted by