Doctor is cleared over alleged antisemitism and posts linked to Hamas