Taiwan shares fall 3.9 percent on global woes