A 21-year-old man has been sentenced to life in prison for the murder of Cork postman Barry Daly, in what was described by the judge as a "brutal action".