Multiple shock compression of diamond foils with a shaped laser pulse over 1 TPa