FIX support axis=-1 and -2 for sparse reduce methods

Fixes #3249