The Defence Minister has issued a major apology to members of the Australian Defence Force who were harmed by homophobic policies.