Fixed internal and EntityFramework specific errors.

Fixed error when determining entity paths in expressions introduced
through a constant.
Prevented shattering of MemberInitExpressions in expressions where the
member was initialized more than once.