Use .undef per variable
Attempting to expand a variable to a list of vars to .undef does not actually work.
MFC of r343066
Reviewed by: bdrewery Differential Revision: D17251