series: add special casing when dividing empty series by zero and fix missing include.

As a consequence, now the second operand of series division must support math::is_zero().