Added faster tree barriers necessary for performance for Xeon Phi

Fixed up some stuff in the thread info free functions
Disabled threading for TRSM so that it actually works when threading environment variables are set