Days after Acacia Communications Inc. tried to back out of its $2.6 billion deal with Cisco, the two companies agreed to a new — much pricier — agreement.