A Capitol police officer was injured during an attack outside the Capitol and was released from hospital