The opinion writer was fired for social-media remarks after the killing of political commentator Charlie Kirk.