House votes to hold attorney general in contempt