Eliminating Unnecessary Items from the One-Pass Evaluation of Attribute Grammars