[GHC] #13487: GHC panic with deferred custom type errors