That's not true at all. People hedge their risk all the time. Do you think that every single person who takes a plea bargain is guilty of the crime they're charged with?
That is a different situation. Mylan says they did nothing wrong, but are transferring $465M anyway. In return, the government will no longer consider the matter in a lawful court.