A comptroller’s report found that deporting the estimated 1.4 million undocumented immigrants living in Texas in 2005 would have cost the state about $17.7 billion in gross domestic product.