Optimise squaring to use mpfr_sqr and mpfi_sqr.