A new study found that Medicare patients spend about three weeks a year getting medical care in an American system that has grown “overwhelmingly complex.”