Residents vow to fight block of flats