allow keepdims with negative index.

Also also MaxAndArgmax with all neg axis.

fix gh-1430