MAINT: remove some inf-related warnings from logsumexp

see https://github.com/scipy/scipy/issues/4014
Would it make sense to move `_lazywhere` outside of stats?  I'd suggest misc.common.py except that I've heard rumors that misc would be removed.  Maybe scipy.lib?