In letters sent on successive days, the Internal Revenue Service said it concluded that neither the United Church of Christ, whose national convention heard Barack Obama speak, nor a Southern Baptist pastor, who publicly backed Mike Huckabee, violated tax-exemption provisions prohibiting political endorsements by churches.