House OKs gag law study panel after turning down amendment