House votes to investigate degrading comments allegedly made