$$\int_{-1}^{1} \left(\cot^{-1} \dfrac{1}{\sqrt{1-x^2}}\right) \left(\cot^{-1}\dfrac{x}{\sqrt{1-(x^2)^{|x|}}}\right)= \dfrac{\pi^2(\sqrt a-\sqrt b )}{\sqrt c}$$ , where a,b, c are natural numbers and are there in their lowest form, then find the value of a+b+c.
Using $\int_a^b f(x)dx= \int_a^bf(a+b-x{) dx}$, I got:
$$2I =2\pi\int_{0}^1 \cot^{-1}\left(\dfrac{1}{\sqrt{1-x^2}}\right) dx$$
Then, letting $x = \sin \theta$
$I = \pi\displaystyle\int_{0}^{\pi/2}\arctan (\cos\theta) \cos \theta d\theta$
After this I tried integration by parts but it gets really complicated with that? How do I continue?
EDIT: Please note that arccot(x) + arccot(-x)= $\pi$ $\ne 0$
Principal range of $\cot^{-1}x$ considered in the question is $(0,\pi)$