Problems have been fixed that led to about 2,100 work permits being mistakenly awarded under President Barack Obama’s executive immigration action after a federal judge in Texas had put the plan on hold