A divided U.S. Supreme Court ruled Thursday that a Reconstruction-era civil rights statute allows residents to sue nursing homes for allegedly violating federal Medicaid standards.