Fix tree from bipartitions