JNI: Add Device.Signal.match_instances().