Make `VariableView` more robust for subexpressions that refer to external parameters. Closes #313
Merge pull request #320 from brian-team/fix_311

Make `VariableView` more robust for subexpressions that refer to external parameters