Legislation to reform them has stalled amid differences over the role of government in providing guarantees for mortgage-backed securities and the extent to which the system should subsidize affordable housing.