if you substitute $\theta = \beta t$, you get \begin{equation} \int_0^1 dt \frac{\beta}{\sqrt{\cos\beta t - \cos\beta}} \end{equation} and you do a Taylor expansion of the integrand in $\beta$ (essentially take the limit $\beta$ goes to $0$).
You are left with $\int_0^1 dt\sqrt{2}\frac{1}{\sqrt{1-t^2}} $, which is your result.