Scientists at Stanford Medicine used brain scans to identify two biological subtypes of migraine headaches.