The Internal Revenue Service has reversed its decision to deny tax-exempt status for a Texas religious nonprofit group it said was too closely aligned with Republican values.