ofproto-dpif: refactor rule_dpif_lookup() for table miss whose id > 0