Modified node visiting order in assembler generation for phis. All phis are now visited at once.