The committee voted to refer criminal charges against former President Donald Trump to the Department of Justice for his role in the attack on the Capitol.