Italian chocolate maker Pernigotti has won the support of the government and two investors to keep the loss-making business operational.