A Lexington-based nursing home chain has agreed to close two of its Louisville facilities, displacing roughly 200 people, after state inspectors uncovered serious problems over the past six months, including a rodent infestation, filthy living conditions and a general lack of care for the elderly and ailing residents.