Selection would be better because sometimes you know where the mistake is + there is the “view password” icon to help you locate your mistake.
I don’t like the idea of flushing the field as often the mistake is just one character over the dozens in the master password, and often you can feel where you mistyped.