Legislation that will protect churches and other nonprofit organizations from having to pay taxes on some employee benefits will become law if a bipartisan appropriations package is approved by Congress as expected this week.