Jayawardene patted a ball from Ravi Bopara and ran for a single that would have given him his 21st century , but Dilshan was unable to complete the run as Alastair Cook ran in from slip and broke the stumps .