Eighteen Republican-leaning states have sued the U.S. Equal Employment Opportunity Commission, alleging the agency is defining gender-identity-based workplace harassment far more broadly than the landmark federal workplace-harassment law provides.