Redfin prevails over co-founder in patent trial