One cause of confusion might be the notation $T_{ii}$. Here is a correct formulation. Let $T_i=\inf\{n>0\,;\,X_n=i\}$ denote the first hitting time of $i$. Let $\mathrm P_i$ and $\mathrm E_i$ denote the probability and the expectation conditionally on $[X_0=i]$. Then the result you are interested in is that $ \mathrm E_i(T_i)=1/\pi(i). $ The second result you try to rely on is probably as follows. Let $S_i=\inf\{n\gt T_i\,;\,X_n=i\}$ denote the second hitting time of $i$. Then I guess your $T_{ii}'$ is $S_i-T_i$. Furthermore, for every initial distribution $\mu$ and in particular for $\mu=\pi$ the stationary distribution of the ergodic Markov chain, the distribution of $S_i-T_i$ under $\mathrm P_\mu$ is the distribution of $T_i$ under $\mathrm P_i$, hence the identity $\mathrm E_\mu(S_i-T_i)=\mathrm E_i(T_i)$ is correct. Also correct is the assertion that $\mathrm P_\pi(X_n=i)=\pi_i(1-\pi_i)^{n-1}$, for every $n\geqslant1$.
But I fail to see why all this should imply that $P_\pi(S_i-T_i=n)=(1-p_i)^{n-1}p_i$ for every $n\geqslant1$ (and in fact this is false).
However, there is a well known way to use your idea to compute
$\mathrm E_i(T_i)$. To see this, introduce
$T_i^{(0)}=0$ and, for every
$k\geqslant0$,
$T_i^{(k+1)}=\inf\{n\gt T_i^{(k)}\,;\,X_n=i\}$. Hence,
$T_i^{(1)}=T_i$ and
$T_i^{(2)}=S_i$. Furthermore, for every initial distribution
$\mu$, the sequence
$(T_i^{(k+1)}-T_i^{(k)})_{k\geqslant1}$ (but
not $k=0$) is i.i.d. and distributed like
$T_i$ under
$\mathrm P_i$. In particular, when
$k\to\infty$,
$ T_i^{(k)}/k\to \mathrm E_i(T_i), $ almost surely and in
$L^1$, by the strong law of large numbers.
On the other hand, consider $N_n(i)=\sum\limits_{t=1}^n[X_t=i]$ the number of visits of state $i$ before time $n$. Since $X_n$ converges in distribution to $\pi$ when $n\to\infty$, $ \mathrm E_\mu(N_n(i))=n\pi(i)+o(n). $ Finally, the pair of asymptotics $\mathrm E_\mu(T_i^{(k)})=k\mathrm E_i(T_i)+o(k)$, $\mathrm E_\mu(N_n(i))=n\pi(i)+o(n)$, and the identity $[N_n(i)\geqslant k]=[T_i^{(k)}\leqslant n]$, all together imply that $ \mathrm E_i(T_i)=1/\pi(i), $ since, roughly speaking, $T_i^{(k)}\approx n$ if and only if $N_n(i)\approx k$, when $n$ and $k$ are large.