Hapag-Lloyd is buying the Israeli shipping company for $35 a share, a 58% premium to the stock’s level as of Friday’s close.