Convert nonlinear expressions first

This is required by ASL.