A Colorado sheriff’s deputy disciplined for helping federal immigration agents make arrests has resigned