He built mortgage companies, sold them, and set out to fish the world. Then loanDepot’s founder came back to the desk, with another turnaround to attempt.