The agreement is a major departure from the Internal Revenue Service’s previous stance encouraging migrants to file their taxes.