Fix thinkos

The intervalmap.h infelicities produced no diagnostic from GCC,
but they were clearly erroneous and indeed failed with clang++.