Refine errors for incremental compilation (#35410)
* Make incremental compilation failures an error.
* Remove loophole which allowed Base.include to skip the incremental
compilation warning
* Add special case so that `Base.__toplevel__` is never considered
closed, allowing normal use of include()