The former official who approved the building that collapsed in Miami resigns from his new job