Original: The miners' job was to explode the mine closest to an approaching enemy ship.
Simplified: Their job was to explode the mine closest to an approaching enemy ship.