Alejandro Valverde sprinted to his first victory of the season at the Trofeo Serra de Tramuntana in Mallorca.