When you say you want to remove the value - do you want to just remove the value from that particular object, or remove the entire object if it contains non-10-digit values?
If you meant filter the array so only objects that contain a 10-digit value would remain, then you could do something similar to below.
Compose contains your array of objects.

Filter array uses the output from the Compose and applies the following filter.
//Checks that the length of value is equal to 10, and
//Checks that value is a valid float (number)
@and(
equals(length(string(item()?['value'])), 10),
equals(isFloat(item()?['value']), true)
)

After running the flow, we would have the following output (excludes the object with invalid value).
[
{
"waitTime": 0,
"status": "A",
"pathId": 2419001148045324,
"countryCode": "US",
"value": "5551112222",
"skipValidation": false,
"pathEnable": true
},
{
"waitTime": 0,
"status": "A",
"pathId": 2419001148045319,
"countryCode": "US",
"value": "5551112222",
"skipValidation": false,
"pathEnable": true
}
]
----------------------------------------------------------------------
If I've answered your question, please mark the post as Solved.
If you like my response, please consider giving it a Thumbs Up.