This situation is relatively easy.  The Knights do not want to be considered or treated like a religious order. There is no need for the pope to fight with them. He should simply acknowledge that they are not a religious order, withdraw from them any rights, duties or privileges that attach to a religious order (including their patron and clergy), and then explore whether a future relationship with them is possible or desirable.