code: public void cleanup(IRStatus<PIR> status)
  	{
  		if (status != null && status.getIrNode() != null)
  		{
  			try
  			{
  				status.getIrNode().apply(new BlockCleanupTrans());
  			} catch (org.overture.codegen.ir.analysis.AnalysisException e)
  			{
  				e.printStackTrace();
  				log.error("Problem encountered when trying to clean up blocks");
  			}
  		}
  	}
docs: Cleans up an IR status by removing redundant {@link ABlockStmIR} nodes using the {@link BlockCleanupTrans}
  transformation.
  
  @param status
  The IR status