Private Versus Socially Optimal Provision of Ex Ante Legal Advice