Automatic Pruning of Fine-tuning Datasets for Transformer-based Language Models