Appeals court OKs June 23 NY Democratic presidential primary