box: fix memory leaks on `ER_MULTISTATEMENT_TRANSACTION` in DDL
Space index build and space format checking operations don't destroy space iterator on `txn_check_singlestatement` failure — fix this. Closes #8773 NO_DOC=bugfix NO_TEST=<leak happens in small, cannot be detected by sanitizer>