[step:Remove the singular part of the maximal torus and of the group]Define the regular part of $T$ by
\begin{align*}
T_{\mathrm{reg}}:=\{t\in T:\alpha(t)\ne 1\text{ for every }\alpha\in R\}.
\end{align*}
Its complement is
\begin{align*}
T\setminus T_{\mathrm{reg}}=\bigcup_{\alpha\in R}\ker \alpha .
\end{align*}
For every non-zero root $\alpha\in R$, the character $\alpha:T\to S^1$ is non-trivial, so $\ker\alpha$ is a proper closed subgroup of $T$. Its identity component $H_\alpha:=(\ker\alpha)^\circ$ is a compact connected subtorus of $T$ of dimension strictly smaller than $\dim T$, and the compact Lie group $\ker\alpha/H_\alpha$ is finite. Thus $\ker\alpha$ is a finite disjoint union of cosets of $H_\alpha$, and each such coset has $\mu_T$-measure zero. Since $R$ is finite, $T\setminus T_{\mathrm{reg}}$ has $\mu_T$-measure zero.
Define the regular part of $G$ by
\begin{align*}
G_{\mathrm{reg}}:=\{gtg^{-1}:g\in G,\ t\in T_{\mathrm{reg}}\}.
\end{align*}
By [citetheorem:9713], every element of $G$ is conjugate to an element of $T$, so
\begin{align*}
G\setminus G_{\mathrm{reg}}
\end{align*}
is the conjugation-saturation of $T\setminus T_{\mathrm{reg}}$. For each $\alpha\in R$, write $\ker\alpha$ as a finite disjoint union of cosets $C_{\alpha,j}=a_{\alpha,j}H_\alpha$, where $a_{\alpha,j}\in\ker\alpha$ and $H_\alpha=(\ker\alpha)^\circ$ is the compact connected subtorus defined above. Each coset $C_{\alpha,j}$ is a compact embedded submanifold of $T$ of dimension strictly smaller than $\dim T$. Define the smooth map $\Psi_{\alpha,j}:G/T\times C_{\alpha,j}\to G$ by
\begin{align*}
\Psi_{\alpha,j}(gT,t):=gtg^{-1}.
\end{align*}
The domain $G/T\times C_{\alpha,j}$ has dimension
\begin{align*}
\dim(G/T)+\dim C_{\alpha,j}<\dim(G/T)+\dim T=\dim G.
\end{align*}
In smooth coordinate charts, the image of a compact smooth manifold of dimension strictly smaller than $\dim G$ under a smooth map into $G$ has zero $\mu_G$-measure. Since
\begin{align*}
G\setminus G_{\mathrm{reg}}\subseteq \bigcup_{\alpha\in R}\bigcup_j \Psi_{\alpha,j}(G/T\times C_{\alpha,j})
\end{align*}
and the union is finite, we obtain
\begin{align*}
\mu_G(G\setminus G_{\mathrm{reg}})=0.
\end{align*}
Moreover $D(t)=0$ for every $t\in T\setminus T_{\mathrm{reg}}$, since at least one factor $|1-\alpha(t)|^2$ vanishes.[/step]