Legal basis for US killing of Iran general depends on threat