ISLAMABAD, Pakistan — Pakistani officials said on Saturday that NATO aircraft had killed at least 25 soldiers in strikes against two military posts at the northwestern border with Afghanistan, and the country’s supreme army commander called them unprovoked acts of aggression in a new flash point between the United States and Pakistan.