Add _eval_simplify helper for AlgebraicNumber

fixes #4401