Fix: no-unused-var should respect compound assignments (fixes #1166)

Fixes #1166.