By having airports on islands, or by pushing up the number of minutes that the engines/operator are certified for.
Airlines have contracts with companies who provide a sat phone link to doctors who have the flight information and medical facilities at possible diversion airfields. Eg MedAire.
The view coming in to Keflavik, with whales swimming in the ocean below, was pretty cool.