Cut Your Losses in Large-Vocabulary Language Models