Tex. court reverses bad faith decision against insurer