Clean up merge intervals