Fix GC issue in switch lacing strategy

There are two issues for defect MAGN2504: Warning for Dispose on changing lacing options.
- The first one is GC issue, the input parameter is GCed when promote it to an array. 
- The second issue is replication guide is assigned to ssa variable, which causes incorrect delta computation.