The Egyptian government took the unusual step on Sunday of releasing a 23-year-old student held on charges of belonging to a banned Islamist movement, in a rare bow to public pressure after photos of the student sobbing and hobbling on crutches went viral on social media.