Cross-border fighting between Pakistan and the Taliban in Afghanistan is set to pause for the end of Ramadan.