fn merge_region_ids(left: Vec<RegionId>, right: Vec<RegionId>) -> Vec<RegionId>
Merges two region id lists and removes duplicates.