Join opt. Remove empty constant as inputs and merge MakeVector inputs.

do the join change for gh-2328
We could, but this case mean all inputs are constant. So the constant folding will take care of it. I'll add a comment for this.