Kennedy outduels Lincecum to end long skid