It must also pay a $2.8 billion fine and agree to independent oversight.