Mitigating the impact of ionospheric cycle slips in GNSS observations