Kennedy was widely seen as a barrier to any efforts to repeal Roe v. Wade, which legalized abortion nationwide