Efficient Data-Plane Memory Scheduling for In-Network Aggregation