The ruling comes on the eve of the deadline for registering for 2019 Obamacare coverage.