codeintel: Isolate oobmigrations
Created by: efritz
This PR isolates the remaining code intelligence oobmigrations so that it does not need any behavioral imports that can change over time. This is in preparation for its deprecation, where it will run only as part of the migrator for historic upgrades. We want to freeze this migration as much as possible, because we want to treat it with consistent behavior over time to allow the migrator to make some assumptions (like the registered code for an oobmigration is valid at any point in its lifetime).
Fixes #38053 (closed).
Review by commit may be helpful.
Test plan
Existing and modified unit tests.