This is a clever paradox! I like it. The trick lies in conflating the following two statements:
- "$\mathcal{S}$ is closed under addition"
- "For any subset† $\mathcal{U} \subseteq \mathcal{S}$, $\sum_{x \in \mathcal{U}} x \in \mathcal{S}$"
If these were both equivalent, then the paradox would go through, because the empty set $\mathcal{S} = \emptyset$ is trivially closed under addition, so taking $\mathcal{U} = \mathcal{S}$ above gives us $\sum_{x \in \mathcal{S}}x \in \mathcal{S}$. But $\sum_{x \in \mathcal{S}}x$ is the empty sum, and the empty sum equals‡ $\sum_{x \in \mathcal{S}}x = 0 \not \in \mathcal{S}$ (since $\mathcal{S}$ is empty and has no elements), which is a contradiction.
However, the first is strictly weaker than the second, because the definition of "closed under addition" is specifically:
$$\text{For all *two-element* subsets } \mathcal{U} = \{x_1, x_2 \} \subseteq \mathcal{S}, \sum_{x \in \mathcal{U}} x = x_1 + x_2 \in \mathcal{S}.$$
By induction, we can show that
$$\mathcal{S} \text{ is closed under addition} \longrightarrow \sum_{x \in \mathcal{U}} x \in \mathcal{S} \text{ for any finite subset } \mathcal{U} \subseteq \mathcal{S} \text{ of size } |\mathcal{U}| \geq 2.$$
But the empty set $\mathcal{U} = \emptyset$ has size $|\mathcal{U}| = 0$, and we can't inductively apply the definition of "closed under addition" to prove $\sum_{x \in \mathcal{U}} x \in \mathcal{S}$ for subsets of $\mathcal{S}$ with so few elements§. So the apparent contradiction disappears.
†Actually, $\mathcal{U}$ should be a multiset whose elements are from $\mathcal{S}$, in order to allow repetition of summands, such as adding an element of the set to itself.
‡The exact value of the empty sum depends on what our empty set $\mathcal{S} = \emptyset$ is considered to be a set of. If $\mathcal{S}$ is a set of real or complex numbers, the empty sum is zero; if $\mathcal{S}$ is a set of vectors or matrices, the empty sum is the zero vector or matrix; if $\mathcal{S}$ is a set of n-manifolds under connected sum, the empty sum is the n-sphere; and so on.
§It is true that if $|\mathcal{U}| = 1$ (that is, $\mathcal{U} = \{ a \} \subseteq \mathcal{S}$ is a singleton set),
$$\sum_{x \in \mathcal{U}} x = \sum_{x \in \{ a \}} x= a \in \mathcal{S},$$ but this is not a consequence of $\mathcal{S}$ being closed under addition--in fact, it's true for any set $\mathcal{S}$!