BEIRUT, Lebanon — The Syrian government said Thursday that it had released more than 500 prisoners who were not involved in “terrorist” acts. A human rights group said, meanwhile, that it had compiled evidence that thousands of other detainees were languishing in government prisons and secret detention centers where, the group said, torture was routine.