[GHC] #12032: Performance regression with large numbers of equation-style decls