Texas laws bar Wall Street firms from operating in the state if they stop investing in firearms and fossil fuels. An analysis shows that has cost taxpayers hundreds of millions of dollars this year.