A man who murdered his partner’s cousin in an attack in which the victim was repeatedly bludgeoned to the head while he slept has been told he must serve 15 years in prison before he can be considered for release.