Yet more fixes and test cases for assignment inlining (JENA-780)

- Don't inline out of DISTINCT/REDUCED
- Ensure we don't break projections when editing out inlined assignments
  that were projected
- Ensure that editing projections only edits the outermost projection
3 files changed