A teenage boy who admitted to killing a bus driver in an attack that saw him headbutting and "raining punches" on to his victim has been detained for four years and four months.