Refactor Cell.flatten_*() to Cell.ungroup() and Instance.ungroup()