Up to 30,000 passports have been caught up in a backlog preventing Brits going on holiday.