Rescuers have retrieved eight bodies and found and brought four people to safety, after rain-triggered flash floods in southwest China left over 30 missing.