Qualcomm Inc. said it agreed to pay $891 million to Broadcom Corp. over four years as part of a settlement of a series of bitter legal disputes between the rival chip makers. Under the deal, Qualcomm and Broadcom agreed to end their litigation and exchange rights to each others' patents.