codeintel: Split insert search records query
Created by: efritz
This query still dominates lsifstore (although things seem much more stable now, in part because of optimizations and in part because the OOB migration has finished). I'd like to split it to see inserting into which table is causing existing lock contention.