Check for missing undo files at startup, making the check somewhat more ...

...efficient.

This is also an incremental step in making an index pruner for #4481
Because if we go the #4481 route, we'll have to expand the logic to better manage the cases when the files are missing without failing.