Notwithstanding anything in this chapter to the contrary, any nonconforming residential structure may be demolished and rebuilt, so long as the new structure does not extend beyond the footprint of the existing nonconforming structure.