NBC: Iowa school leader resigns while he challenges his deportation order, his legal team says