Tl;Dr:Users should be able to select multiple actions at once in order to drag them together.
If you have something like:
Filter array -> compose (output of filter array)
and you want to move those into an Apply to Each, you'll get the error that either something outside the loop depends on it or that it depends on something outside the loop. Therefore, the only way that seems possible to get items inside the loop in question is to re-create them. That seems profoundly silly.
Implement a feature to allow multi-select to drag the inter-dependent items together into a loop OR let users override the protection to drag them one at a time.