The UK government has confirmed it will abandon plans to introduce a mandatory digital identity card for workers, marking a significant reversal after months of political pressure and public concern.