Fixes issue 8504

#8504 

While evaluation sum as euler maclaurin formula with limits as integers check whether the expression is polynomail or not.
> So I don't think it is necessary to check the degree if you are just adding all the terms in bruteforce way.

But if the degree is > 2n+1 - the simple substitution formula is not exact.  Then you should count `eps`, isn't?