DEP: deprecate float as axis argument to reductions

consistent with deprecation of float as slice indices.
Closes gh-4876