function resetTmpl (secret, paths) {
  return paths.map((path) => {
    const { circle, escPath, leadingBracket } = secret[path];
    const delim = leadingBracket ? '' : '.';
    const reset = circle
      ? `o.${circle} = secret[${escPath}].val`
      : `o${delim}${path} = secret[${escPath}].val`;
    const clear = `secret[${escPath}].val = undefined`;
    return `
      if (secret[${escPath}].val !== undefined) {
        try { ${reset} } catch (e) {}
        ${clear}
      }
    `
  }).join('')
}
Mutates the original object to be censored by restoring its original values
prior to censoring.

@param {object} secret Compiled object describing which target fields should
be censored and the field states.
@param {string[]} paths The list of paths to censor as provided at
initialization time.

@returns {string} String of JavaScript to be used by `Function()`. The
string compiles to the function that does the work in the description.