Factors determining crystal–liquid coexistence under shear