Taiwan top financial regulator resigns over crisis