R.QCAUCHY: Improve accuracy a bit for p>0.5

There are more floating point numbers near 0 than near pi.  Therefore,
flip tail when p>0.5 so tan(p*pi) gets computed more accurately.