As bad as it may sound, but from what I can read in the tweets, he did violate the sanctions by using slack while being in iran.
Well, that is called breaking the law and I fully understand why slack terminated his account when he broke the law and violated their terms of service.
For example, other services or tools (like cisco anyconnect) clearly state, that you are not allowed to use them when in embargoed contries.