[loose parser] Improve autoclosing of expression lists