Four heritage-listed defence properties to be preserved for community use after backlash from veterans.