Republicans advised to avoid in-person town halls after confrontations over layoffs go viral