Dublin man pleads not guilty to murder but guilty to manslaughter