merge_to_parent function

Merge taxa to their respective parents