General Mills has confirmed that it is due to restart its production of pasta in Brazil.