Federal officials told immigrant advocates in a letter made public yesterday that government immigration agents would discontinue using undercover sting operations involving health and safety programs to round up illegal immigrants.