Existential quantification of variables.
Removes all occurences in r of variables in the set var by existential quantification.