Remove dead assignments found by CSA