Australian police said on Saturday that a fatal stabbing attack in Melbourne in which one person and the attacker were killed was linked to Islamic State.