Asian stocks end Wednesday mostly in the red