Pakistani troops have been battling militants in Swat since July , when a radical cleric called for a holy war against the government .