Closes #744. X[Y, c(.), by=.EACHI] doesn't segfault
Merge branch 'fix-744'