Uses a union-find to batch replacements in a netlist closer to O(n) time.
The replacement only considers the uses of a net that existed at the time of creation of NetMapper.
Connections created after the creation of the NetMapper will not be replaced.