Weak-type (1,1) bounds for oscillatory singular integrals with rational phases