Mexico shuts troubled energy firm