Closes #5357. DT[, LHS := RHS] (or its equivalent 'set') now provides warning instead of error when length(LHS)=0.