[Git][ghc/ghc][master] Keep scanl' strict in the head on rewrite