Some abortion drug restrictions upheld by appeals court