County reaches settlement agreement in lawsuits by former foster children