The Justice Department said it would take the fight over an abortion pill to the Supreme Court, following an appeals court ruling.