insertEffects: fix for closure calculation

The new fscope effects (copy and writeback) were not being handled
correctly.