Merge overlapping genes