The thing is, Goku is always ahead of Vegeta. However, once Vegeta reaches Goku's level, he is, fact, stronger. Therefore if both are the same ssj, Vegeta wins. This has been shown at normal saiyan level, and at ssj2. Also, Vegeta did not lose any power after dying and coming back, retaining ssj2.