Proposed deal addresses claims over student mental health and could bring new safeguards for teenage users