[Git][ghc/ghc][wip/spj-apporv-Oct24] overwrite errctxt only when do statements are involved