[ONOS-7493] Segment routing may uninstall forwarding with no next id

Change-Id: Id78b9ed94633b7e96fdeebe185e28d6de386e3ec
diff --git a/core/net/src/main/java/org/onosproject/net/pi/impl/PiFlowRuleTranslatorImpl.java b/core/net/src/main/java/org/onosproject/net/pi/impl/PiFlowRuleTranslatorImpl.java
index 796891d..b4ce830 100644
--- a/core/net/src/main/java/org/onosproject/net/pi/impl/PiFlowRuleTranslatorImpl.java
+++ b/core/net/src/main/java/org/onosproject/net/pi/impl/PiFlowRuleTranslatorImpl.java
@@ -122,8 +122,7 @@
 
         tableEntryBuilder
                 .forTable(piTableId)
-                .withMatchKey(piMatchKey)
-                .withAction(piTableAction);
+                .withMatchKey(piMatchKey);
 
         if (piTableAction != null) {
             tableEntryBuilder.withAction(piTableAction);