A judge has approved a deal that would save the Big Apple Circus by selling its tents, equipment and intellectual property to an affiliate of the Florida-based investment firm Compass Partners LLC.