Arizona agrees to boost care for foster kids to settle suit