Alvaro Bautista came out on top in a hard-fought battle with championship rival Toprak Razgatlioglu in Race 2 in Portimao.