SERVER-86887ClosedFixed
Remove cross-stage use of SlotAccessor::copyOrMoveValue
Remove cross-stage use of SlotAccessor::copyOrMoveValue. copyOrMoveValue is unsafe when combined with loopy or unwindy stages and can lead to segfaults: buffering and keep the value in scope until EOF or child EOF is insufficient, and will segfault when combined with correlated variables: Similar problem exists in PlanExecutor use of copyOrMoveValue. This optimization targets the mkObj + PlanExecutor combination, where we want to avoid making extra copy when converting resul