Farmers Branch loses long, pricey immigration fight