Rule 'no-unused-var' in functional expression with identifier (fixes #775)