DEP: Deprecate SafeEval class.

The class is no longer used in numpy and was never exported.