The soldiers’ presence could traumatize and endanger the safety of some students on campus, the petition said.