XML 51 R36.htm IDEA: XBRL DOCUMENT v3.5.0.2
Indebtedness - Additional Information (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Mar. 02, 2015
Apr. 30, 2016
Jul. 31, 2015
Jul. 31, 2016
Jan. 31, 2016
Debt Instrument [Line Items]          
Debt instrument, converted amount     $ 55,500    
Gain on extinguishment of debt     $ 4,236    
Surety bonds issued       $ 206,100 $ 259,700
8.0% Convertible Notes [Member]          
Debt Instrument [Line Items]          
Debt instrument, stated percentage 8.00%     8.00%  
Debt instrument, converted amount $ 49,900        
Convertible Senior Notes [Member] | 4.25% Convertible Notes [Member]          
Debt Instrument [Line Items]          
Debt instrument, original debt converted $ 55,500        
Debt instrument, stated percentage 4.25%     4.25%  
Convertible notes fair value $ 42,100        
Transaction costs allocated to liability component 900        
Gain on extinguishment of debt   $ 4,200      
Debt instrument remaining exchange consideration 7,800        
Transaction costs allocated to equity component $ 200