The Independent Commission Against Corruption (ICAC) has heard former New South Wales Premier Gladys Berejiklian ignored advise from her then-chief of staff to cut off contact with her former partner Daryl Maguire after he was called to give evidence at an ICAC hearing in 2018.