Legislation intended to increase the nation's housing supply could end up constraining a segment of the real estate industry.