Around £9bn of investment has been allocated for a generational renewal of defence housing over the next decade.