The chief of Indonesia's financial regulator and other officials of the body resigned in order to take responsibility for a massive market selloff