Congress blocks rule barring mentally impaired from guns