Check both lower and upper bounds in SoftmaxLossLayer

If we're going to do bounds checking, may as well check all the bounds. I've already run into this while accidentally using uninitialized labels.