The regulator has hit O2 with the fine for years of overcharging on customers’ final bills.