Prediction of Herd Life in Dairy Cows Using Multi-Head Attention Transformers