Dubbo Regional Council mayor Ben Shields undergoes emergency surgery in Sydney