Fix sum sum crash

NEWS.txt:
- Fix crash during optimization with consecutive sum and some combination of axis (Frederic B., reported by Çağlar Gülçehre)
- Fix crash with keepdims and negative axis (Frederic B., reported by David W.-F.)