fix problem with to early commiting app_next_block transaction
Code which was used to handle finalization of massive sync after restart makes commit, and then blocks were processed in other transaction than call of hive.app_next_block
Code which was used to handle finalization of massive sync after restart makes commit, and then blocks were processed in other transaction than call of hive.app_next_block