A federal judge has ruled that West Virginia can restrict the sale of the abortion pill