Lennar Corp.'s plans to sell its Rialto Investment and Asset Management business to funds overseen by Stone Point Capital for $340 million reflect Lennar's efforts to tighten its focus on homebuilding amid a shifting landscape for commercial real estate lending.