The government has recently signed separate peace agreements with Islamic militants in the Swat Valley , and in the neighboring Bajaur region .