ENH: remove warnings from logaddexp with same sign infs

Closes #5097.