Trump suffers setbacks in efforts to shut down two of the criminal cases against him