Accept setting attribute on method argument in UselessAssignment

This fixes #438.