Insurgents vow to resist security pact