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

Fixes #4664 

I saw this issue on the 1.4 list but the fix seems simple...
Or actually I'll change it to what you suggested instead of deleting it...