Optimal control of isotope selective fragmentation