Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?