Dozens of new 'affordable' homes set to replace derelict bui