Government says it will ‘always comply’ with international legal obligations after ICC warrant issued for Israeli prime minister