If $$\displaystyle I = \int_1^2 \left( \cot^{-1} \sqrt{x-1} \right)^2 \, dx$$, find the value of $$\dfrac { { \pi }^{ 2 }+8I-8\ln { 2 } }{ \pi }.$$