Iraqi militants kill at least 18 officers and soldiers