Remove several unused imports in `_pyrepl` (#118668)

2 files changed