The Michael Monsoor guided-missile destroyer is one of the U.S. Navy’s most technologically advanced ships. But developing that technology was more difficult than expected, and its deployment has been complicated by a strategic pivot in the ship’s mission.