removes redundant instruction collection