Backchannel talks led by Pakistan result in temporary ceasefire after weeks of fighting.