A patient with HIV/AIDS presents to the emergency department in respiratory failure and is thought to have Pneumocystis jiroveci pneumonia. Intubation is needed and the patient's respiratory rate increases from 18 to 40 breaths per minute. Peak airway pressures increase from greater than 30 to greater than 60 cm H2O. Breath sounds are absent on the left side of the chest and the trachea is deviated to the right. Which of the following is appropriate for the management of this patient?