fix crash when add/edit sub-circuit parameters

Something was going amiss in the parameter change detection/replacement code of ID_Dialog::slotOk().

Instead of working inplace, build a new list, compare it with the present list, then swap if different.