Miller undone in 5th; McCarthy settles in, stymies D-backs.