Malaysia plans to abolish the mandatory death and whipping sentences by early 2023 with amendments to the laws to be tabled in Parliament next month.