Mehdi Hasan announced during the final broadcast of his Sunday show that he is leaving MSNBC