Revert "Fix beta function for BigFloats"

This reverts commit 5b3745294c8cfd4bb3c33ff2482ae256f5e138b7.
add lgamma_r for BigFloat, make beta() work