The authorities say the police officers died when suspected Islamic militants ambushed their patrol north of Jammu .