The Ministry of Defence is trying to recover overpaid pensions from more than 1,000 former service members after payroll and National Insurance errors.