Shopify soars 28% on strong earnings and sale of logistics unit, plans to slash headcount