Use filter() to skip undesired instances

Change-Id: Ifc7cc5affe494c8573065cdcf7a018584e553a01
diff --git a/src/main/java/org/onosproject/segmentrouting/PolicyHandler.java b/src/main/java/org/onosproject/segmentrouting/PolicyHandler.java
index 745c64f..6ec0de7 100644
--- a/src/main/java/org/onosproject/segmentrouting/PolicyHandler.java
+++ b/src/main/java/org/onosproject/segmentrouting/PolicyHandler.java
@@ -86,8 +86,7 @@
     public List<Policy> getPolicies() {
         return policyStore.values()
                 .stream()
-                // keep the original behavior, but it may cause a cast error
-                // it is better to use filter() to omit instances not being TunnelPolicy
+                .filter(policy -> policy instanceof TunnelPolicy)
                 .map(policy -> new TunnelPolicy((TunnelPolicy) policy))
                 .collect(Collectors.toList());
     }