a resistor subnet has been linked to itself (or something like that).
Otherwise it leads to a double-free and a crash. This commit does
not address why the subnet was linked to itself, and the crash was
preceded by another internal diagnostic message "Missing rptr at ..."
which has been noted before but still needs to be tracked down and
fixed. It is likely that a bad output netlist was created, but at
least magic doesn't segfault.