Deducting S Corporation Losses to Extent of Shareholder Basis