In 2018, when guitarist and composer Mary Halvorson released “Code Girl,” the first recording by her group of the same name, it seemed like a departure from the rest of her discography. Ms. Halvorson, ...