Goldman Sachs Group Inc.’s push to lend more has taken it to some strange places for a storied, elite Wall Street firm. The latest: house flipping.