James Bennet resigns and his deputy, James Dao, is being reassigned following uproar over publication of op-ed by Senator Tom Cotton advocated using federal troops to quell unrest