### Search before asking - [x] I searched the [issues](https://github.com/sqlfluff/sqlfluff/issues) and found no similar issues. ### What Happened A valid CASE statement had a parsing error when the WHEN clause used brackets. This statement fails: ```sql SELECT CASE WHEN abc = 1 THEN NULL WHEN ( defg = 2 AND hijk = 3 ) THEN NULL END AS result FROM abc; ``` ### Expected Behaviour It should not fail as it is valid ### Observed Behaviour Fails with a parse error "Could not parse" ### How to reproduce Using the SQL above with `sqlfluff parse test.sql --dialect oracle` ### Dialect Oracle ### Version 3.4.2 ### Configuration No config needed apart from `--dialect oracle` ### Are you willing to work on and submit a PR to address the issue? - [x] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://github.com/sqlfluff/sqlfluff/blob/main/CODE_OF_CONDUCT.md)