Legislation making it harder for consumers to erase their debts in bankruptcy court won overwhelming House approval in March .