Pakistan's military killed 22 militants in Khyber District during a joint operation, though a 10-year-old child was also killed in the crossfire.