$$\eqalign{
P\Bigl(\bigcup_{i=1}^n E_i\Bigr) =
\sum_{i\le n} P(E_i) - &\sum_{i_1<i_2}\underbrace{ P(E_{i_1}\cap E_{i_2})}_{
{\text {two at a time}}}
+\sum_{i_1<i_2<i_3} \underbrace{ P(E_{i_1}\cap E_{i_2}\cap E_{i_3})}_{\text {three at a time}} - \cr
&\cdots+ (-1)^{n}\sum_{i_1<i_2<\cdots<i_{n-1} }
\underbrace{ P(E_{i_1}\cap\cdots\cap E_{i_{n-1}} )}_{(n-1)\text { at a time}} \cr
&\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ + (-1)^{n+1}P(E_1\cap E_2\cap\cdots\cap E_n)}
$$
The subscripts in the above sums are just a handy way to write, for example in the term $\sum\limits_{i_1<i_2} P(E_{i_1}\cap E_{i_2}) $,
"take the sum of the probabilities of intersections of two distinct events (the intersections taken without regard to order; that is, in the sum, you have only only
one of, e.g., $P(E_1\cap E_2)$ or $P(E_2\cap E_1) \thinspace $)".
Of course my "$n$" is your "$2^n-n$".
For your concern at the end of your post,
note the formula above has negative terms.
In general, if the events $\{E_i\}$ are mutually exclusive, then $P(\cup E_i )=\sum P(E_i)$; but if the events overlap then $P(\cup E_i )\le\sum P(E_i)$. This is because the right hand side of the preceeding formula counts some probabilities more than once (namely those in the intersection of overlapping $E_i$).