Deleting doubles of resistors