MONDRIAN-1658

handling the case where a crossjoin is given an empty set for one of its parameters.  Cherry picked from master c5c26bfe5b8ed87f553bc48f4eaeef1abc02f0db