Internal helper that sets the skip_new_stats_dm and
skip_validate_stats_dm options to TRUE before
evaluating an expression, and resets them to NULL afterward (see also
stats.options()). Intended to
prevent the (unncessary) creation/checking of stats_dm objects during
resampling.