For more than 10 years, the courts in New Jersey were split as to whether, under the Bankruptcy Code, a chapter 13 debtor’s right to cure a default on a mortgage loan secured by the debtor’s primary residence expired at the fore¬closure sale, or at the time the deed to the foreclosed property was delivered to the purchaser.