A teenage girl who was killed after getting out of a police car on the M5 in Somerset has been named.