Treasury Secretary Janet Yellen sounded the alarm Tuesday about legislative proposals to strip funding from the Internal Revenue Service, saying doing so would be “damaging and irresponsible.”