Managing static leakage energy in microprocessor functional units