[#1491] start adding corruption-cleanup migration, including egg cleanup
& granting gems for all broken eggs #1386