Pending legislation could allow bankrupts to discharge some mortgage amounts