path REFACTOR nodes are not needed when freeing predicate values

Also solves problem of freeing order between the
path and the referenced nodes.
diff --git a/src/path.h b/src/path.h
index 85438ed..3f8cd19 100644
--- a/src/path.h
+++ b/src/path.h
@@ -224,10 +224,9 @@
  *
  * @param[in] ctx libyang context.
  * @param[in] pred_type Predicate type.
- * @param[in] llist Leaf-list in case of leaf-list predicate.
  * @param[in] predicates Predicates ([sized array](@ref sizedarrays)) to free.
  */
-void ly_path_predicates_free(const struct ly_ctx *ctx, enum ly_path_pred_type pred_type, const struct lysc_node *llist,
+void ly_path_predicates_free(const struct ly_ctx *ctx, enum ly_path_pred_type pred_type,
         struct ly_path_predicate *predicates);
 
 /**