Remove Rebroadcast in the input of Join.

Add it only when needed in the grad.
Merge pull request #1665 from nouiz/join

Remove Rebroadcast in the input of Join.