[guided]The point of this step is that orthogonal complements are detected by inner products. We first assume that $M$ reduces $T$, so by definition both $M$ and $M^\perp$ are invariant under $T$:
\begin{align*}
T(M)\subset M \quad \text{and} \quad T(M^\perp)\subset M^\perp.
\end{align*}
We must prove that $M$ is invariant under $T^*$. Let $x\in M$ be arbitrary. To prove $T^*x\in M$, it is enough to prove that $T^*x$ is orthogonal to $M^\perp$, because $M$ is closed and hence $(M^\perp)^\perp=M$.
Let $y\in M^\perp$. By the defining property of the adjoint, using the convention that $(\cdot,\cdot)_H$ is linear in the first variable,
\begin{align*}
(T^*x,y)_H=(x,Ty)_H.
\end{align*}
Since $M^\perp$ is invariant under $T$, we have $Ty\in M^\perp$. Since $x\in M$ and $M$ is orthogonal to $M^\perp$, it follows that
\begin{align*}
(x,Ty)_H=0.
\end{align*}
Therefore $(T^*x,y)_H=0$ for every $y\in M^\perp$, so $T^*x\in(M^\perp)^\perp=M$. Since $x\in M$ was arbitrary, $T^*(M)\subset M$. Together with $T(M)\subset M$, this proves condition (ii).
Now assume condition (ii), namely
\begin{align*}
T(M)\subset M \quad \text{and} \quad T^*(M)\subset M.
\end{align*}
To prove that $M$ reduces $T$, the missing part is invariance of $M^\perp$ under $T$. Let $y\in M^\perp$. We prove $Ty\in M^\perp$ by testing against an arbitrary element $m\in M$. The adjoint identity gives
\begin{align*}
(Ty,m)_H=(y,T^*m)_H.
\end{align*}
Because $T^*(M)\subset M$, the vector $T^*m$ belongs to $M$. Since $y\in M^\perp$, we get
\begin{align*}
(y,T^*m)_H=0.
\end{align*}
Thus $(Ty,m)_H=0$ for every $m\in M$, which is precisely the statement that $Ty\in M^\perp$. Hence $T(M^\perp)\subset M^\perp$. Combining this with the assumed invariance $T(M)\subset M$, we conclude that $M$ reduces $T$.[/guided]