The centuries-old verdict has been scrapped after decades of controversy about its use in Scottish criminal trials.