Weather warnings lift over mainland NZ after storm unleashes flooding on South Island