D2 Pruning: Message Passing for Balancing Diversity and Difficulty in Data Pruning