The trick there is to shoot as many imps as you can before she starts shooting the fire. The fireballs have very small hitboxes, smaller than the sprites, so you don't have to move very far to dodge each one.