State lawmakers preserve historic preservation tax credit