Transform Literal nodes into NFAs