Richfield officer kills man wielding knife