Frazar wins Pebble Beach Invitational by one shot