Add nullary sum() to sugar.d.ts.

The nullary version of sum() was missing in sugar.d.ts (only the unary
version was present).