Paul Magnier claimed his first race win on his Soudal-QuickStep debut as he won the Trofeo Ses Salines-Felanitx.