A state appeals court ordered San Quentin State Prison to immediately cut its inmate population by half Tuesday, which would require transferring or releasing about 1,700 inmates, citing the state’s inability to manage a deadly COVID-19 outbreak at the prison.