Someone would need to go through the debloat script and run each command manually one at a time, checking after each item, to figure that out.
Though "com.qualcomm.qti.remoteSimlockAuth" is my uneducated guess as to the culprit.
If you want to keep the bloat, and have the T-Mobile variant, then you should probably just use the SIM Unlocker service here:
Hello XDA, I am back at it again with the free T-Mobile network unlocks. Yep, you heard that right... 100% FREE. This service will allow you to go into your Settings and perform a network unlock. I've been doing this for over 3 years now with...
forum.xda-developers.com
I can personally vouch that it works.