Wayfair’s sales fell in the first quarter, but the furniture retailer narrowed its losses by over $100 million after cutting 13% of its staff.