The I.R.S. said on Monday that churches can endorse political candidates to their congregations