To prove that the orthogonal projections $P_k$ in $T$'s spectral decomposition are finite-rank operators (part of the "spectral theorem"), you actually need to know that $\overline{\operatorname{ran}(T)}$ is separable. Here is another proof of this fact without using the spectral theorem.
If we assume the existence of a "compact normal operator $T$ on a Hilbert space $\mathcal{H}$", then automatically $\mathcal{H} = \operatorname{ker}(T) \oplus \overline{\operatorname{ran}(T)}$, where $T$ vanishes on $\operatorname{ker}(T)$, and $\overline{\operatorname{ran}(T)}$ is separable. Therefore we can reduce the proof of the spectral theorem to the case where $\mathcal{H}$ is separable.
(If anyone thinks this should rather be a comment: I'll be happy if you can my answer to the comments above, sorry I don't have enough reputation.)