Move duplicate unused local filtering to checker
Test that all locals using same symbol are reported as unused