mesh: fix bug of dynamic set type idle
mesh: fix bug of dynamic set type idle

1. fix bug of dynamic set type idle
2. fix esp_mesh_deinit blocking issue
3. fix ie.mesh_type do not match ie.layer
4. ps enabled devices use new assoc version

espressif/esp-idf,espressif/esp-idf,espressif/esp-idf,espressif/esp-idf