barvinok_enumerate_e: avoid infinite loop when presented with incorrect input