Johnson & Johnson placed into bankruptcy its liabilities for tens of thousands of claims linking talc-based products to cancer, hoping to drive a settlement of personal-injury claims that are expected to grow for decades to come.