Pakistan army takes control of campus after deadly attack