New legislation would revoke tax-exempt status of nonprofits funding Hamas, other terrorists