withDoRNG function

Evaluates a foreach %dopar% expression with the doRNG adapter