Equipment for molding foundry ingots