The unanimous ruling revives a civil rights lawsuit over a 2016 fatal shooting, requiring courts to assess the full context of police actions.