At least 40 killed as Pakistan bombs Taliban hideouts