evidencePrunning function

evidencePrunning: a fuction for pruning instantiated variables.