Ruling LDP member quits as upper house panel chief over gaffe