fix($parse): create undefined arrays in assigements

Fixes #9820 

I didn't check, I'd just be surprised if we didn't. More tests are always good though