Court ruling may wipe hundreds of Oregon convictions