Four terrorists tried by military court hanged in KPK