Sign him for what his cap hit is. That way he's back and we have no risk.
That isn't how the cap works. Once he was released, his remaining bonuses were accelerated into this season as dead money. His cap hit right now is $4.93M for 2013. Any new contract would go on top of that cap charge.