Fixes issue 8504

#8504 

While evaluation sum as euler maclaurin formula with limits as integers check whether the expression is polynomail or not.
@skirpichev  No. I think. Here is how the algorithm follows. 

In the case of polynomials, first it checks whether `a` and `b` are integers then irrespective of degree we are using the `m` parameter to add the terms one by one. If one of `a` or `b` is not an integer then `m` leading terms (`m` is decided by this [line](https://github.com/sympy/sympy/blob/master/sympy/core/evalf.py#L1136) ) are added in a brute force way(which can be computed exactly). Then for the remaining terms we use the `euler_maclaurin` formula i.e, we integrate the function and calculate other terms & error term. But while calculating the first `m` leading terms I don't think we need to conisder `eps`. Is this clear? If not, can you give an example probably it will help me understand.