Pakistani authorities say seven soldiers were wounded in the clashes , and that the paramilitary Frontier Corps inflicted heavy casualties on the militants .