Replace HelpFormatter._metavar_formatter() with _to_tuple().