Foster-care deal wins court OK, setting a new path for children, but critics remain skeptical