Mr. Ravi’s lawyers said that the police had ill-treated him, driving him around all night without giving him proper food