[Git][ghc/ghc][wip/T26681] Refactor SetLevels [skip ci]