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

do the join change for gh-2328
This happen in one of the tests.