Improve `update_column_in_batches` migration helper
What does this MR do?
This MR adds an exception that is going to be raised when a migration invokes a update_column_in_batches
helper within a transaction.
What are the relevant issue numbers?
Closes #34064 (closed)