A man has admitted killing a parcel delivery driver who was trying to stop his van being stolen in Leeds.