MuDAF: Long-Context Multi-Document Attention Focusing through Contrastive Learning on Attention Heads