ldb: Add test to show a reindex failure must not leave the DB corrupt