Shaken residents in central Vietnam are piecing their homes and businesses back together after a powerful typhoon hammered large swathes of coast and killed at least four people.