Republicans race to head off Kansas Senate nightmare