Depending on how ousted Yahoo CEO Scott Thompson is officially let go, he could owe the company $7 million on the way out the door.