The Internal Revenue Service is set to end unannounced visits by its agents to businesses and homes.