The attack on Friday in the provincial capital of Ghazni killed a district police chief and at least eight other officers, officials said.