Four companies which form part of troubled cinema operator Cineworld have had restructuring plans approved by a High Court judge, staving off the threat of administration.