Beazer exiting five markets, closing mortgage unit

Builder's lending unit subject of investigation