A strongly degenerate elliptic equation arising from the semilinear Maxwell equations