Glorifying militants to be punished in Pakistan province