merge_trees(): add ancestor label parameter for diff3-style output