Mohamed El-Erian resigns from Pimco