At least 38 killed in gun attack on Shiite Muslims in northwest Pakistan