New York nursing home operator accused of neglect settles with state for $45M