Update permute removal pass to handle binary operations, and cleanup better (#18256) #18256
Dr.CI classification results
{"FAILED":[{"workflowId":23280109225,"workflowUniqueId":63454257,"id":67691708918,"runnerName":"i-0beaf6a37f91cfd1d","authorEmail":"matthiascremon@meta.com","name":"pull / test-arm-cortex-m-size-test (zephyr-preset) / linux-job","jobName":"test-arm-cortex-m-size-test (zephyr-preset) / linux-job","conclusion":"failure","completed_at":"2026-03-19T04:53:11.000000000Z","html_url":"https://github.com/pytorch/executorch/actions/runs/23280109225/job/67691708918","logUrl":"https://ossci-raw-job-status.s3.amazonaws.com/log/pytorch/executorch/67691708918","head_branch":"export-D96940254","pr_number":18256,"head_sha":"fc5d0ba0fdbe7da3d1f404fd76db14bf8666faeb","head_sha_timestamp":"2026-03-19T04:39:06.000000000Z","failure_captures":["RuntimeError: Command docker exec -t c15251c04a4c33bd54d4c99fecc6c0422de81ac4eea343fe0245474b693c0f3d /exec failed with exit code 92"],"failure_lines":["RuntimeError: Command docker exec -t c15251c04a4c33bd54d4c99fecc6c0422de81ac4eea343fe0245474b693c0f3d /exec failed with exit code 92"],"failure_context":[],"time":"2026-03-19T04:41:11.000000000Z"}],"FLAKY":[],"BROKEN_TRUNK":[{"workflowId":23280109225,"workflowUniqueId":63454257,"id":67691709020,"runnerName":"i-0300d46092a34adf0","authorEmail":"matthiascremon@meta.com","name":"pull / unittest / windows / windows-job","jobName":"unittest / windows / windows-job","conclusion":"cancelled","completed_at":"2026-03-19T06:43:55.000000000Z","html_url":"https://github.com/pytorch/executorch/actions/runs/23280109225/job/67691709020","logUrl":"https://ossci-raw-job-status.s3.amazonaws.com/log/pytorch/executorch/67691709020","head_branch":"export-D96940254","pr_number":18256,"head_sha":"fc5d0ba0fdbe7da3d1f404fd76db14bf8666faeb","head_sha_timestamp":"2026-03-19T04:39:06.000000000Z","failure_captures":["##[error]The operation was canceled."],"failure_lines":["##[error]The operation was canceled."],"failure_context":[],"time":"2026-03-19T04:41:11.000000000Z"},{"workflowId":23280109225,"workflowUniqueId":63454257,"id":67691709030,"runnerName":"i-01daf61ace7dfffd7","authorEmail":"matthiascremon@meta.com","name":"pull / unittest-editable / windows / windows-job","jobName":"unittest-editable / windows / windows-job","conclusion":"cancelled","completed_at":"2026-03-19T06:43:42.000000000Z","html_url":"https://github.com/pytorch/executorch/actions/runs/23280109225/job/67691709030","logUrl":"https://ossci-raw-job-status.s3.amazonaws.com/log/pytorch/executorch/67691709030","head_branch":"export-D96940254","pr_number":18256,"head_sha":"fc5d0ba0fdbe7da3d1f404fd76db14bf8666faeb","head_sha_timestamp":"2026-03-19T04:39:06.000000000Z","failure_captures":["##[error]The operation was canceled."],"failure_lines":["##[error]The operation was canceled."],"failure_context":[],"time":"2026-03-19T04:41:11.000000000Z"}],"UNSTABLE":[],"AWAITING_APPROVAL":[]}