ARM II: Patients receive gemcitabine hydrochloride as in Arm I and ATR kinase inhibitor VX-970 IV over 60-90 minutes on days 2 and 9. Courses repeat every 21 days in the absence of disease progression or unacceptable toxicity.