Supreme Court judge allows access to abortion pill