Bankman-Fried resigns as FTX head, puts empire in bankruptcy