Expected<> calls assertIsChecked() in its dtor, and operator bool() only calls setChecked() if there's no error. So for functions that don't return an error itself, the Expected<> version needs explicit code to disarm the error that the ErrorOr<> code didn't need.
I didn't audit other revisions that converted ErrorOr<> to Expected<>, there are possibly more changes like this needed.
This fixes an assert from libLTO.dylib while linking chrome/iOS.
...I'll come in again.