Pakistan 's government launched an offensive in late April aimed at clearing militants from the greater Swat valley region .