fix typo in handling of <device op="!="/>

Bug: 949855
Change-Id: If5418a49887e91e7cb6a37fb281dfe8fe87d93b2