Houses and a shop that have become magnets for anti-social behaviour and vandalism can be demolished – planners have agreed.