I agree with the advice in posts 2 and 3 above - go for the music ed.
There was a previous thread similar to yours that might be interesting to you. My posts contain info based on family members’ and friends’ experiences in obtaining certification following BMs and MMs in performance from major conservatories: Paths to becoming a public school music teacher
If you know you want to teach, get the ed degree first. You can follow up with an MM in performance while working. There are online and summer program options out there for MMs. The MM, even if in performance and not in music ed, will most likely advance you on a school district’s pay scale. (Teachers pay is generally based on years of experience and degrees or hours of credit post-undergrad obtained.)