Millions of workers could be paying too much tax without realising it due to incorrect tax codes, with mistakes costing an estimated £3.5 billion in a single year.