tricky (edge) case in dcast.data.table fixed. closes #715.