[guided]The trace lemma is designed to isolate the representation-theoretic fact needed later for the Killing form. We take an arbitrary finite-dimensional representation
\begin{align*}
\rho: \mathfrak g &\to \mathfrak{gl}(V)
\end{align*}
and prove that elements of $[\mathfrak g,R]$ are trace-orthogonal to all represented elements $\rho(b)$.
Because $V$ is finite-dimensional, choose a composition series as a $\mathfrak g$-module:
\begin{align*}
0 = V_0 \subset V_1 \subset \cdots \subset V_m = V,
\end{align*}
where each quotient $Q_i := V_i/V_{i-1}$ is irreducible. The quotient $Q_i$ is finite-dimensional because $V_i$ is a subspace of the finite-dimensional vector space $V$ and quotients of finite-dimensional vector spaces are finite-dimensional. The point of using a $\mathfrak g$-composition series, rather than only an $R$-composition series, is that every $\rho(b)$ with $b \in \mathfrak g$ preserves the entire flag.
Now use the solvability of $R$. We apply the standard ideal form of [Lie's Theorem for Solvable Ideals in Irreducible Modules](/page/Lie%27s%20Theorem%20for%20Solvable%20Ideals%20in%20Irreducible%20Modules). Its hypotheses are satisfied: $R$ is a solvable ideal of $\mathfrak g$, $Q_i$ is a finite-dimensional irreducible $\mathfrak g$-module, and the base field $F$ is algebraically closed of characteristic $0$. Therefore, on every quotient $Q_i$, the action of $R$ is scalar. Thus there is a linear character
\begin{align*}
\lambda_i: R &\to F
\end{align*}
such that $\rho(r)|_{Q_i}=\lambda_i(r)\operatorname{id}_{Q_i}$ for every $r \in R$. This is the only place where algebraic closedness and characteristic $0$ are used.
Let $u \in \mathfrak g$ and $r \in R$. Since $R$ is an ideal, $[u,r]\in R$, so $\rho([u,r])$ acts on $Q_i$. The representation identity gives
\begin{align*}
\rho([u,r])|_{Q_i}
=
[\rho(u)|_{Q_i},\rho(r)|_{Q_i}].
\end{align*}
But $\rho(r)|_{Q_i}=\lambda_i(r)\operatorname{id}_{Q_i}$ is a scalar operator, and every operator commutes with a scalar operator. Therefore
\begin{align*}
\rho([u,r])|_{Q_i}
=
[\rho(u)|_{Q_i},\lambda_i(r)\operatorname{id}_{Q_i}]
=
0.
\end{align*}
Since $[\mathfrak g,R]$ is spanned by such brackets $[u,r]$, every $a \in [\mathfrak g,R]$ acts as zero on every quotient $Q_i$.
This quotient statement has a concrete matrix meaning. Choose a basis of $V$ adapted to the flag $(V_i)_{i=0}^m$. Because $\rho(b)$ preserves each $V_i$, its matrix is block upper triangular. Because $\rho(a)$ acts as zero on each quotient $Q_i$, its diagonal blocks are zero, so its matrix is strictly block upper triangular. The product $\rho(a)\circ \rho(b)$ is again strictly block upper triangular, hence has zero trace. Thus
\begin{align*}
\operatorname{tr}(\rho(a)\circ \rho(b))=0
\end{align*}
for every $a \in [\mathfrak g,R]$ and every $b \in \mathfrak g$.[/guided]