9 killed as residential building collapses