House votes to scrap rule meant to keep guns from severely mentally ill