[GHC] #15325: Panic in getIdFromTrivialExpr with -fdefer-type-errors