Remove setNumInputDims method in JoinTable and SplitTable

Now nInputDims is an optional parameter in the constructor of these modules.