[math] remove ALGEBRA_x_USE_SLOW_FUNCTIONS