BUG: numpy changed behavior for all-nan arrays.

C.f. https://github.com/numpy/numpy/commit/9c7e6e30315ab4541775d9a78630e88423c752c1

I have changed the `bounded_argmin()` and `bounded_argmax()` functions to work with either behavior.