Pakistan official: 38 killed in army bombardment