I wasn't under the impression that Deidara planned for Gaara's sand to grab his arm....
He was merely taking advantage of the situation as it occurred.