Lawmakers can ease the severe housing shortage by giving cities the power to turn underutilized commercial zones into dense residential developments.