Fix record projections for fields which are params

Fixes #943
Merge branch 'master' of github.com:idris-lang/Idris-dev