Unused arguments that were being used in genarrays and modarrays were being used as reused candidates, causing errors once these arguments are eventually removed. We need to ensure that unused arguments are not added as reused candidates, which fits nicely in the pre-existing filterrc (filter reuse candidates) traversal.
Closes #2359 (closed)