The Taliban and Afghan government agreed to halt fighting for three days during the upcoming Eid al-Adha, a move that could renew momentum toward negotiations.