[Git][ghc/ghc][wip/T26682] Fix scoping errors in specialisation