Entanglement dynamics and relaxation in a few-qubit system interacting with random collisions