nir/instr_set: Fix nir_instrs_equal for derefs