Pakistan's military described the sentencing of 25 civilians by a military court as a "milestone in delivering justice to the nation."