Proposed legislation would allow modification of residential mortgages in bankruptcy