'Fix' issue 3998.

Specifically, certain explicit summations would hang for large summation
intervals, because we tried to use hypergeometric sum evaluation tricks for
them.

Disable these tricks for explicit sums, and add a test.
Merge pull request #2440 from ness01/3998

'Fix' issue 3998.