A US state has passed a resolution calling for police to class neo-Nazi groups as terrorist organisations in the wake of the violent clashes in Charlottesville.