Dublin man who beat partner unconscious, leaving child wandering streets looking for help, jailed for three years