The court protected thousands of buyers from recovery proceedings while work on the distressed project is carried out by a new developer to be selected under court supervision.