Minimal quasi-complete intersection ideals