Policy changes aimed at reducing the number of children who end up in foster care—many championed by progressives in blue states—are being passed by Republicans in Texas.