The triangle $\triangle ABC$ is an isosceles triangle where $AB = 4\sqrt{2}$ and $\angle B$ is a right angle. If $I$ is the incenter of $\triangle ABC,$ then what is $BI$?
Express your answer in the form $a + b\sqrt{c},$ where $a,$ $b,$ and $c$ are integers, and $c$ is not divisible by any perfect squares integers other than $1.$
Below is a picture of what I have done. I have found the answer, which I believe is correct, but i did not find it in the square root version. Could someone please help me find the square root version and how to get to the answer. Thanks a lot!
Edit: the property of an incenter is that it is equidistant from all of the sides.

\begin{align} |AC|=|BB'|&=\sqrt2|AB|=8 ,\\ |BI|=x&=\sqrt2 r ,\\ |BB'|&=2x+2r=2x+\sqrt2\sqrt2 r =x(2+\sqrt2) ,\\ x&=\frac{8}{2+\sqrt2} \\ &=\frac{8(2-\sqrt2)}{(2+\sqrt2)(2-\sqrt2)} \\ &=\frac{8(2-\sqrt2)}{(2^2-(\sqrt2)^2)} \\ &=8-4\sqrt2 . \end{align}