Discard VarDefs that are not actually used.