External Investors' Protection and Firm Boundaries