Man convicted of murder freed for new trial