An Australian police officer and young mum hailed a hero for stopping a deadly stabbing rampage in Bondi has been diagnosed with a rare cancer.