TRQ-2639. Fix some valgrind memory errors.

These were caused by not having a proper copy of job_usage_info objects.