With the fate of health insurance for more than 20 million Americans at stake, two justices—Chief Justice John Roberts Jr. and Justice Brett Kavanaugh—seemed inclined Tuesday to form a majority to preserve the Affordable Care Act in nearly its entirety.