What was the Act of Mediation responsible for restoring