Mut on ident patterns.

Fixes #9792.