EZP-20491: eZScriptMonitor - memory limit overflow
- batched attribute removal to prevent memory limit overflow.
(cherry picked from commit eb1cd6a5cef6d5393d653981cb034fcb189cc3b9)