[PATCH 6/7] ir: Validate the DCL_TEMPS instruction.