Pops the back stack until key's screen is reached.
Matching is by runtime class — all argument values are ignored (only the screen type matters, consistent with how navigate with singleTop works).
A NavKey instance whose class identifies the destination to pop to. The argument values on key are not used for matching.
When false (default), the destination screen is kept on the stack. When true, the destination screen itself is also removed.