Alan Hughes subjected his partner to an 'appalling spectacle' of violence but has been freed from prison days before his birthday