Veterans who suffered mistreatment in the armed forces under the “gay ban” will receive compensation “soon into the new year”, Defence Secretary John Healey said, as he apologised for the pain and injustice caused.