The US Senate passed legislation to overhaul the US bankruptcy system, making it harder for consumers who fall behind in their bills to elude repayment of their debts.