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

do the join change for gh-2328