Rabbinical student thanks cops for saving his life after stabbing