The Roomba-maker’s largest Chinese manufacturer has agreed to acquire the company via a Chapter 11 restructuring.