[GHC] #8044: "Inaccessible code" error reported in wrong place