vsdg: variable fixes
vsdg: variable fixes

Assign merged variable to any constituent ssavar. Keep list of
ssavars originating in an output up-to-date when diverting an
ssavar to a new origin.

phate/jive,phate/jive,phate/jive