The statement says Baki attacked Afghan police with small-arms fire as they entered his residence .