[Git][ghc/ghc][wip/romes/reorder-ghci-run] refactor: move and order helper functions in GHCi.Run