18 GOP AGs sue SEC as Gensler hints resignation