Expand DISTINCT to REDUCED optimization to cope with SELECT DISTINCT ?var { } ORDER BY ?var style queries (JENA-441)

git-svn-id: https://svn.apache.org/repos/asf/jena/trunk@1470043 13f79535-47bb-0310-9956-ffa450edef68