[GHC] #8138: Core lint fails with error "Role incompatibility: expected N, got R"