Circumstances are different.
The 49ers asked a guy who quit after playing one year in the league who was freaked out over concussions (even though he never got one in the NFL).
The Dolphins asked Ricky Williams to repay when he decided he wanted to smoke weed more than he wanted to play. These are not the same situation as doing it to veteran franchise stalwarts like Barry, Calvin, and Frank.