"Compromised" examination papers for apprentice electricians were withdrawn amid concerns that they may have been sold.