Advocacy groups urged the Internal Revenue Service on Tuesday to keep resisting presidential pressure to share confidential tax-return information with immigration enforcement authorities, saying the abrupt departure of the agency’s new commissioner highlights the need for oversight.