Optimal robust stimulated Raman exact passage by inverse optimization