Legally, that's not an option for student loans, but morally is there really any difference? Is there an ethical reason why student borrowers are less deserving of the bankruptcy option than other borrowers?
How do you propose they fix the problem? By shutting up and paying it all back, even if they have to work 7 days a week and sleep in a cardboard box for the next few decades? Doesn't the bank share some responsibility here for giving a loan to someone that they knew would likely not or hardly be able to repay?
Maybe they made a bad decision in the first place, but do they really deserve a lifetime of debt because they did what they were told they needed to do (go to university) but weren't aware about the pitfalls of certain paths? While they weren't directly forced to take get a degree, isn't it kind of expected by schools and parents nowadays? So there's still pressure to to it...
(also, not everyone is suited or has the prerequisites for the big and well paying jobs, so it's kind of unfair to expect people who are smart but not in the way that certain jobs require to struggle through stuff not suited for them, which might also cause problems, etc...)
technically true in the sense that they weren't forced at gunpoint to take the loans, but you're ignoring the effect of high school teachers/counselors, parents, and peers have in pushing them into getting a degree.