Bunge Ltd. has agreed to combine with Rotterdam-based Viterra Ltd. in a cash-and-stock deal valued at about $18 billion, including debt.