Joint optimal mission aborting and replacement and maintenance scheduling in dual-unit standby systems