Prune extinct branches in puregenome2graph