BUG any/all return wrong dtype with size=0 input

Closes #65