Enhancing Identification of Causal Effects by Pruning