ML-based Network Pruning for Routing Data Overhead Reduction in Wireless Sensor Networks