Brazil’s lower house of congress approved a proposal to ease gun ownership, but withdrew some of the measures the government had hoped to see pass.