Yao has surgery, will weigh options