Eliminate single use assignments referenced in ORDER BY (JENA-780)

This commit improves TransformEliminateAssignments to be able to
eliminate single use assignments that are used only in ORDER BY sort
conditions