So "the reason it originally exists" and "what breaks if you take it away" aren't necessarily the same thing.
As with, say, digestion, or an major organ like the liver, it's reasonable to think that it does simple things in simple animals, and more complex things in more complex ones.
Take out an animal's liver, it's not one process that stops working, it's dozens. There's one or two that will kill it quicker, so those are the ones it dies of, but artificial livers are hard to build as they implement so many vital processes.
Take your liver example. We can largely answer that same question. I can't off the top of my head but the answer is fairly well established even if incomplete to varying degrees depending on the species.
There is widespread consensus on why a liver is needed for survival whereas there is not for sleep. That's particularly interesting when you consider that sleep is more common across the tree of life than dedicated livers are (at least AFAIK).
GTAGGA turning into GTACCA may make you sleep 8 fewer hours but also keep you from producing haemoglobin.
It's like leveraging a qsort implementation from your mp3 player to develop your OS scheduling algorithm.
His argument is that there is nothing essential about its apparent function(playing mp3s).
If he articulated a particular essential process and why it depends on sleep in an incidental manner that might make for a reasonable hypothesis. However it would not refute the earlier (cited) claim that there is no consensus.
As presented without any concrete information about the processes involved it doesn't even qualify as a hypothesis, merely empty handwaving. In context it's even worse, being an entirely baseless contradiction of a claim pulled from a prominent paper.
The question was "why is it needed". In context the meaning is clearly to ask what it's doing that's essential and (it follows) why those things are essential.
The subsequent response did not (as you suggest) articulate some subset of nonessential things done during sleep. Rather it rattled off plausible (and widely understood) aspects of the process that could have led to the current situation. Even if it had listed concrete activities that would still not have made for a meaningful answer.
The first clue that something is wrong should be that the linked article is recent and prominent. Thus short a brand new groundbreaking development we can be reasonably certain that a random commenter on the internet will not be sensibly rebutting the claims (and certainly not in the span of ~2 sentences).