Ruling on extraterritoriality may protect foreign investors in US bankruptcies