More than 100 pro-Taleban militants die in four days of heavy fighting near Pakistan's border with Afghanistan, officials say.