mit-scheme: fix inreplace.

Fixes #33375.
mit-scheme: general cleanup.