He had considered running as an independent candidate, telling his congregation that he could bridge partisan divides