Prioritize merging compactions ahead of minor compactions