codeintel: Move policy internal code out of enterprise for re-use
Created by: efritz
Move codeintel-internal policy code from enterprise
to internal
. We need this code available as we cannibalize it into services for RFC 619. This is currently blocking @mrnugget and I's attempt to reuse policy code for lockfile indexing and retention.
Pulled from 7cb13f0a535e954f0cd0de0a457a180093f362d9.
Test plan
Existing CI should catch any reasonable rename kerfuffle.