On graduation, unless someone has incredible job prospects, wiping out 100k of debt in exchange for not being able to get a mortgage for 7y is a great deal. At 20k it's not great but still pretty good. I bought a house 7y after graduating from college, and I think this was earlier than most of my cohort.
Additionally, I wouldn't even expect a college bankruptcy to fully preclude getting a home mortgage. With a large down payment the bank isn't actually taking that much risk.
(Except that really I expect that if this law changed loans would require cosigners with good credit)