Jannik Sinner was handed a three-month ban in a dope settlement after testing positive for the anabolic steroid clostebol.