New Zealand break 10-match losing run to stun India