make sure repls restart, and empty-toplevel-block bug in ast-util