ONOS-2380 Modified wipe-out command to withdraw and purge all events regardless of their state.

Change-Id: I3d537a8bad719b94712b915a6b1d99a7bdc862e5
diff --git a/cli/src/main/java/org/onosproject/cli/net/WipeOutCommand.java b/cli/src/main/java/org/onosproject/cli/net/WipeOutCommand.java
index 0195215..cbb9842 100644
--- a/cli/src/main/java/org/onosproject/cli/net/WipeOutCommand.java
+++ b/cli/src/main/java/org/onosproject/cli/net/WipeOutCommand.java
@@ -24,7 +24,6 @@
 import org.onosproject.net.host.HostAdminService;
 import org.onosproject.net.intent.Intent;
 import org.onosproject.net.intent.IntentService;
-import org.onosproject.net.intent.IntentState;
 import org.onosproject.net.link.LinkAdminService;
 
 /**
@@ -87,9 +86,7 @@
         print("Wiping intents");
         IntentService intentService = get(IntentService.class);
         for (Intent intent : intentService.getIntents()) {
-            if (intentService.getIntentState(intent.key()) == IntentState.INSTALLED) {
-                intentService.withdraw(intent);
-            }
+            intentService.withdraw(intent);
             intentService.purge(intent);
         }
     }