Avago Technologies Ltd., a Singapore-based maker of semiconductors, agreed to buy Broadcom Corp. for $37 billion in the biggest technology acquisition ever. The offer values Broadcom at $54.50 a share in cash, compared with a closing price of $57.16 on Wednesday, when the stock rose the most since 2001 after reports that a deal was imminent. The offer price is a 16 percent premium to where Broadcom’s shares closed Tuesday.