fix: soft delete empty repository records (batch 4)
This is part of step 3 of 4 as described in #570 (comment 818150257).
We're doing a batch update as first described in #570 (comment 838050935). This MR is for batch 4, which is split into four migrations, each one with a single update statement targetting 10k records.
Related to #570 (closed)