Dam blasted to release floodwaters as death toll rises in China