prune_common_subtrees.dendlist function

Prune trees to their common subtrees