DETROIT — General Motors Co. has settled two cases related to its defective ignition switches. The cases are among several so-called “bellwether” trials that are testing the legal boundaries of hundreds of claims against GM. Three more cases are scheduled to be heard next year. GM settled the two cases for an undisclosed amount, plaintiffs’