VarLengthExpandType now takes projected direction into account

@jakub- I updated some of the tests in this file since they were failing, we had assumed that the projected direction always was the same as the other direction in all old tests. This is not always true since it depends on the plan, I went through the test and I think the projected directions makes sense, but it would be good if you could give them a quick look and see if you agree.