Fix E203 false positive for slices in format strings (#10280)
## Summary
The code later in this file that checks for slices relies on the stack
of brackets to determine the position. I'm not sure why format strings
were being excluded from this, but the tests still pass with these match
guards removed.
Closes #10278
## Test Plan
~Still needs a test.~ Test case added for this example.