When Rug Doctor's general counsel joined the company earlier this year, she had no idea it was about to be sold to a new owner—or that she would play a key role in the deal, which ended with her position being eliminated.