fix($parse): create undefined arrays in assigements

Fixes #9820 

don't we already have a test for this?