The luxury e-commerce platform will shutter its in-house beauty business early next year, pivoting to an affiliate model featuring a trimmed selection of brands.