A Victorian coroner has been told how convicted murderer Scott Murdoch took his own life in his prison cell.