Isotropic realizability of electric fields around critical points