Embattled digital mortgage lender Better.com is getting out of the real estate business and has laid off all of its agents.