CRUNCH-190 Deep-copy retained values in CoGroup

Use the PType#getDetachedValue functionality to deep copy
values where necessary before retaining them in the reduce
portion of the CoGroup library.