Add assertion in nn.View constructor

Even though torch.view accepts a wildcard argument (-1) for one of the sizes,
nn.View cannot handle minibatches when using this option.