The Australian government has backflipped and reinstated funding for the veterans support group Invictus Australia.