Don't StackOverflow on executors when doing dumps MERGE.
There has been a couple instances where the constructed MERGE statement has >= 1000 predicates and it fails with StackOverflows.
We had previously fixed this issue on the Spark driver. In this MR we fix it for the Spark executors as well, as we have now seem a couple instances of this.