inserteffects: remove excessive caseOf deletions