An "extremely violent criminal" who died in garda custody over the weekend was the chief suspect in a recent fatal knife attack.