Pakistan says it struck militant hideouts along Afghan border after surge in deadly attacks