Suspected mastermind of blasts dies in Moroccan detention