Add _eval_simplify helper for AlgebraicNumber

fixes #4401
Merge pull request #8223 from skirpichev/algsimp

Add _eval_simplify helper for AlgebraicNumber