I understand the algebraic manipulation and I'm assuming that the thinking is: $\lim_{n\to \infty}\left( \left(1+\frac{1}{n!}\right)^{n!}\right) = e$ and $\lim_{n \to \infty} \frac2{(n-1)!} = 0$.
However, I don't understand why we can break the expression $\lim_{n\to \infty}\left( \left(1+\frac{1}{n!}\right)^{n!}\right)^{\frac2{(n-1)!}}$, into $\lim_{n\to \infty}\left( \left(1+\frac{1}{n!}\right)^{n!}\right)$ and $\lim_{n \to \infty} \frac2{(n-1)!}$.
It seems similar to breaking $\lim_{n \to \infty} \big(1+\frac{1}{n}\big)^n$ into $\lim_{n \to \infty} \big(1+\frac{1}{n}\big)$ and $\lim_{n \to \infty} (n)$ and saying that $\lim_{n \to \infty} \big(1+\frac{1}{n}\big)^n = 1$, which is obviously wrong.
So why are we in this case allowed to consider separately $\lim_{n\to \infty}\left( \left(1+\frac{1}{n!}\right)^{n!}\right)$ and $\lim_{n \to \infty} \frac2{(n-1)!}$?
EDIT: I understand that if the exponent were a constant it would make sense to separate the two limits. What confuses me in this case is that the exponent also depends on $n$, so why are we allowed to separate the two?
Consider $\lim f(x)^{g(x)}$. We rewrite as $$\lim e^{(\ln f(x))g(x)}=e^{\lim g(x)\ln f(x)}$$ where we may pull the limit into the exponential because it is a continuous function. We turn our attention to the exponent. Using the standard limit theorem, we may write $$\lim g(x)\ln f(x)=(\lim g(x))(\lim \ln f(x))$$ provided both limits exist, and the result is not indeterminate. In this case, $\lim g(x)=0$ and $\lim \ln f(x)=1$, so $$\lim g(x)\ln f(x)=0\cdot 1=0$$