This is most likely a case of dictionaries having not caught up with an industry's lingo or jargon. Here are a few examples of using refactor:
You can also refactor other things besides formal expression languages. Like DocumentRefactoring. I refactored this definition several times in order to group similar ideas into their related paragraphs. Of course, I call that reorganization. It's all similar (except where it's different). (source)
Refactor mercilessly to keep the design simple as you go and to avoid needless clutter and complexity. (source)
For example, if a programmer wants to add new functionality to a program, he may decide to refactor the program first to simplify the addition of new functionality in order to prevent software entropy. (source)
These examples were found with ten minutes of searching.
In addition to the above, my own personal experience around programmers suggests that every single programmer who knows what refactoring is will understand what refactor means. Furthermore, Visual Studio's refactoring menu actually calls it refactor:
Per @Sarah's answer in this related question, the coinage vocologue was proposed for such words over a decade ago. But it seems to have no currency as yet, and personally I much prefer acronomatopoeia as suggested by ELU's @wim in a comment to that question.
There aren't actually very many in common use. By far the most common is okay, which one of a very few where the longer "phonetic spelling" form occurs more often than the short form (possibly because people aren't sure whether "ok" should be in capitals or not, and they're not sure what it stands for anyway).
A couple more where we very often see the longer form are emcee (MC, Master of Ceremonies)) and Dubya (ex-president George W Bush).
Others, such as teevee (TV, television), deejay, (DJ, disc jockey), See-Threepio (C-3PO, Star Wars robot) are easily understood, but the spelled-out versions aren't as popular as the initialisms. I assume people calling themselves dj Pee Tee, dj Jay Kay, etc. are bored with "deejay", but still like using the technique on their own names.
Turning to OP's specific question (why does the "phonetic spelling" form exist at all?), I would say okay is a special case for the reasons given above. I think for the rest, it's a mild form of "linguistic subversion" (cf Old Skool, honest injun, Windoze, k.d. lang, etc.).
Effectively, we like them because they suggest we're part of a "counter-culture", kicking against the bland orthodoxy of correct spelling and grammar. That's why they rarely become dominant - if they did, they'd no longer have the slight "edginess" that justified using them in the first place.
Best Answer
According to n-gram it's been around for about a century, and getting more popular all the time.