fix($parse): allow assignment on objects in locals
Fixes #4664