Fanning advances as shark stops surf comp