PHILADELPHIA—A Philadelphia man was freed from prison Tuesday after 37 years in a case marred by detectives who allegedly offered a witness sex and drugs at police headquarters in 1983 in exchange for false testimony. The trial witness was charged with perjury just days after Willie Stokes was convicted of murder in 1984. But Stokes…