To fix this issue.
Use root explorer (or another method of your choic).
1. Move miuimusic.apk from /system/app to /sdcard
3 move miuimusic.apk from /sdcard to /system/app
4 change permissions to rw-r--r--
No more annoying force starts when you unplug your headphones or aux jack.