End-of-life decisions are difficult and distressing. Could AI help?