You don't need to eliminate the Pope as a faction .

Just engage the Pope in Battle and spray him with arrows until he is dead

The New Pope will declare all previous excomunications invalid