A 70-year-old man with known cirrhosis secondary to hepatitis C presents with increasing confusion and drowsiness over 24 hours. Family report he has been constipated. On examination he is disoriented with asterixis. Serum ammonia is elevated and there is no evidence of intracranial pathology. What is the most appropriate first-line treatment?