LONDON — For decades, L.G.B.T. members of Britain’s military were systematically dismissed from the ranks and stripped of their medals. Now, after years of campaigning by those targeted by the policy, the government has outlined a pathway for them to get their medals back. The defense ministry, which has acknowledged that the practice was “wrong, discriminatory and unjust,” said in a statement on Tuesday that it was taking a further step in addressing that injustice. Annabel Goldie, a minister of state in the Defense Ministry, said it was “deeply regrettable” that some members of the armed forces had been treated “in a way that would not be acceptable today” because of their sexual orientation. “I am very pleased now to be in a position to address this wrong and to invite any personnel affected or, in some circumstances, the families of those who are deceased to apply to have their medals returned,” she said in a statement.