KY: Ruling ends state's early-release program