A Georgia sheriff has agreed to improve jail conditions for women with serious mental illness to settle a lawsuit alleging that prolonged solitary confinement and unsanitary conditions risked causing them serious psychological harm.