The man literally cannot form new memories. How could we say that he could change his mind about something in a meaningful way? All the life experiences, reasoned arguments, etc. that are supposed to lead to people rationally changing their minds do not work on H.M.
Look, people end up mentally crippled in all sorts of ways, and we are forced all the time to ask the question "Is he so crippled that we cannot trust this new version? Or is the impairment minor enough that this new version is better representation than a third party mental model?" This question is unavoidable because there are extremes that make it clearly "yes" in some circumstances and clearly "no" in others. We have the "real, actual, living patient" in front of us all the time, and often they are profoundly disabled.
Because in this case it wasn't the whole story that he 'happens to have a major medical condition'. The condition speaks directly to his ability to think and decide. Similarly to a child, or a senile person, at least in some degree.
> (After all, there is no conceivable way in which this harms his medical interests. It's not like they're asking him to consent to e.g. limited palliative care options with an eye towards getting his organs in the most usable possible state.)
Your comment seems to assume that medical or hedonic interests are obviously more important than interests in dignity, aesthetics, or tradition. That's a popular view, but the proper way to handle these sorts of cases does not rest on it.
It's very reasonable to think that one could get a legitimate answer to the question "HM, are you in pain?" without being able to get a legitimate answer to the question "HM, do you want your body used for scientific study?" The "true" HM, which we generally approximate as the man before the accident, might very well consider his dignity (as personally conceived) to be more important than pain.
That's why the correct answer to this, as already pointed out by others, is to rely on his gaurdian as our best guess as to HM's true preferences.