Man leaves mental ward, commits murder