"Most of the contentious parts of the pact, which could have seen the obstructive parliament reject the deal, had earlier been removed and dealt with separately, including giving Afghans control of controversial night raids on homes and prisons used to detain insurgents."