[Git][ghc/ghc][master] Revert use of generic instances for compiler time perf reasons.