Add _eval_simplify helper for AlgebraicNumber

fixes #4401
pr was updated