Jonny Clayton books his place in the World Darts Championship quarter-final with a nail-biting win over Josh Rock.