no abuse in a tax plan producing the same gain as if the ultimate shareholder had directly used its high outside basis for its investment