In her statement, she acknowledged the protests that roiled the campus this year, along with others worldwide, factored into her decision.