Text this: On the numerical evaluation of finite-part integrals involving an algebraic singularity