From trademark research to buy-sell provisions, early legal decisions shape whether a business can support expansion or a sale.