Appeals court hears arguments in abortion pill case