Cummins hails Australia's resilience in dealing with Ashes curveballs