Employee was removing & replacing the bucket teeth on an excavator. Employee cut them with the torch and was using a hammer to break them free when a piece of metal struck the employee in the leg resulting an ER visit to remove the foreign object. Released to work the following day.