Sean Miller admitted wounding with intent, on the day he was due to stand trial for attempted murder of his friend