Murder conviction overturned after man spent decade in jail