Merges contours of adjacent areas in JOSM