A 58-year-old man with alcoholic cirrhosis develops confusion and asterixis.Ammonia level is elevated.Which treatment is most appropriate?