Right-hander is the best pitcher on the free agent market but San Francisco could spend more wisely