Relaxed phase-matching constraints in zero-index waveguides