Fix false positive in "fullword" matches when string is declared both "ascii" and "wide"

Also improved detection of strings fitting in atoms and removed redundant code for "fullword" handling.