Thousands of Irish passports need to be reissued after a software update resulted in crucial lettering being missed off.