[HDM] Add rules to supports STA+STA and STA+AP

Add priority rules for STA+STA and STA+AP use-cases:
- Don't permit a STA||AP to destroy a STA||AP if another interface of
  the same type exists. E.g.
  - STA+AP and get a STA request -> rejected (STA already exists)
  - STA+STA and get an AP request -> accepted (no AP)
- When selecting interfaces to be destroyed, destroy the most recently
  created ones first

Add test cases to cover the new use-cases.

Bug: 68381183
Test: unit tests
Change-Id: I9a9dc54e2eacd7a3cc680951102e9ef15b6ab38b
3 files changed