[lib] unmerge mustache tree as subtree