Automatic Pruning via Structured Lasso with Class-wise Information