Add robustness to parallel pass by adding calls to insertReferenceTemps...

... in places where the called function might take an argument by reference, and therefore
require the insertion of a reference temp.
Merge pull request #890 from hildeth/recordWithRefCopyFnsTail

Add robustness to parallel pass by adding calls to insertReferenceTemps....



... in places where the called function might take an argument by reference, and therefore
require the insertion of a reference temp.

This just extends the quick-fix for the failing verify test types/records/sungeun/recordWithRefCopyFns to other places in parallel.cpp, so similar errors will not surface in the future.