I’m not sure where it says the state’s obligation can be dismissed. The state isn’t even a party to the bankruptcy.
If two parties owe a debt, and one of them is bankrupt, that doesn’t dismiss the other party. I don’t think the bankruptcy judge has the power to dismiss any obligations of the state.