Following/Copying the answer over there we have that:
\begin{align*}
\int_{0}^{\sqrt{2}/2} \frac{\arctan \sqrt{1-2t^2}}{1+t^2} \, \mathrm{d}t &= \int_{0}^{1} \frac{1}{1+x^2} \arctan \sqrt{\frac{1-x^2}{2}} \, \mathrm{d}x \\
&=-\sqrt{2} \int_{0}^{1} \frac{x \arctan x}{\sqrt{1-x^2} \left ( 3-x^2 \right )} \, \mathrm{d}x\\
&=-\sqrt{2} \int_{0}^{1}\frac{x}{\sqrt{1-x^2}\left ( 3-x^2 \right )} \int_{0}^{1} \frac{x}{1+x^2t^2} \, \mathrm{d}t \, \mathrm{d}x \\
&= -\sqrt{2} \int_{0}^{1} \int_{0}^{1} \frac{x^2}{\sqrt{1-x^2}\left ( 3-x^2 \right ) \left ( x^2+ \frac{1}{t^2} \right )} \frac{1}{t^2} \, \mathrm{d}x \, \mathrm{d}t\\
&\!\!\!\!\!\overset{x=\cos \theta}{=\! =\! =\! =\!} \sqrt{2} \int_{0}^{1} \int_{0}^{\pi/2} \frac{\cos^2 \theta}{\left ( 3 - \cos^2 \theta \right )\left ( \cos^2 \theta + \frac{1}{t^2} \right )} \, \mathrm{d}\theta \; \frac{\mathrm{d}t}{t^2} \\
&= \frac{\sqrt{2}}{3} \int_{0}^{1} \int_{0}^{\pi/2} \frac{\sec^2 \theta}{\left ( \sec^2 \theta - \frac{1}{3} \right ) \left ( t^2 + \sec^2 \theta \right )} \, \mathrm{d} \theta \, \mathrm{d}t \\
&=\frac{\sqrt{2}}{3} \int_{0}^{1} \int_{0}^{\pi/2} \frac{\sec^2 \theta}{\left ( \tan^2 \theta + \frac{2}{3} \right )\left ( \tan^2 \theta + 1 + t^2 \right )} \, \mathrm{d}\theta \, \mathrm{d}t \\
&=\frac{\sqrt{2}}{3} \int_{0}^{1} \left ( \int_{0}^{\pi/2} \frac{\sec^2 \theta}{\tan^2 \theta + \frac{2}{3}} \, \mathrm{d} \theta - \int_{0}^{\pi/2} \frac{\sec^2 \theta}{\tan^2 \theta + 1 + t^2} \, \mathrm{d}\theta \right ) \frac{\mathrm{d}t}{t^2+\frac{1}{3}}
\end{align*}
For the remaining integrals we have:
\begin{align*}
\int_{0}^{\pi/2} \frac{\sec^2 \theta}{\tan^2 \theta + \frac{2}{3}} \, \mathrm{d}\theta &\overset{u =\tan \theta}{=\! =\! =\! =\!} \int_{0}^{\infty} \frac{\mathrm{d}u}{u^2 + \frac{2}{3}} \\
&=\left [ \frac{\sqrt{3}}{2} \arctan \sqrt{\frac{3}{2}}u \right ]_0^\infty \\
&= \frac{\sqrt{3}\pi}{2\sqrt{2}} \\
&= \frac{\pi \sqrt{6}}{4}
\end{align*}
and similarly
$$\int_{0}^{\pi/2} \frac{\sec^2 \theta}{\tan^2 \theta + 1 + t^2} \, \mathrm{d}\theta = \frac{\pi}{2 \sqrt{1+t^2}}$$
Thus,
\begin{align*}
\int_{0}^{1} \left ( \int_{0}^{\pi/2} \frac{\sec^2 \theta}{\tan^2 \theta + \frac{2}{3}} \, \mathrm{d} \theta - \int_{0}^{\pi/2} \frac{\sec^2 \theta}{\tan^2 \theta + 1 + t^2} \, \mathrm{d}\theta \right ) \frac{\mathrm{d}t}{t^2+\frac{1}{3}} &= \frac{\pi \sqrt{6}}{4}\int_{0}^{1} \frac{\mathrm{d}t}{t^2 + \frac{1}{3}} - \frac{\pi}{2}\int_{0}^{1} \frac{\mathrm{d}t}{\sqrt{1+t^2} \left ( t^2 + \frac{1}{3} \right )} \\
&\!\!\!\!\!\overset{t \mapsto 1/t}{=\! =\! =\! =\! =\!}\frac{\pi \sqrt{6}}{4} \frac{\pi}{\sqrt{3}} - \frac{3 \pi}{2} \int_{1}^{\infty} \frac{t}{\sqrt{t^2+1} \left ( t^2+3 \right )} \, \mathrm{d}t \\
&\!\!\!\!\!\!\overset{t \mapsto t^2}{=\! =\! =\! =\!} \frac{\pi^2 \sqrt{2}}{4} - \frac{3\pi}{4} \int_{1}^{\infty} \frac{\mathrm{d}t}{\sqrt{t+1} (t+3)} \\
&=\frac{\pi^2 \sqrt{2}}{4} - \frac{3\pi}{4}\int_{2}^{\infty} \frac{\mathrm{d}t}{\sqrt{t} \left ( t+2 \right )} \\
&\!\!\!\!\!\overset{t \mapsto t^2}{=\! =\! =\! =\!} \frac{\pi^2 \sqrt{2}}{4} - \frac{3\pi}{2} \int_{\sqrt{2}}^{\infty} \frac{\mathrm{d}t}{t^2+2} \\
&= \frac{\pi^2 \sqrt{2}}{4} - \frac{3\pi^2}{8\sqrt{2}}
\end{align*}
Collecting everything we get that
\begin{align*}
\int_{0}^{\pi/4} \arctan \sqrt{\frac{1-\tan^2 \theta}{2}} \, \mathrm{d}\theta &= \frac{\sqrt{2}}{3} \left ( \frac{\pi^2 \sqrt{2}}{4} - \frac{3\sqrt{2} \pi^2}{16} \right ) \\
&= \frac{\sqrt{2}}{3} \cdot \frac{\sqrt{2}\pi^2}{16}\\
&= \frac{\pi^2}{24}
\end{align*}
QED.
Thanks @Felix Martin.