A hidden culprit in the 2004 Indian Ocean tsunami was degraded shorelines. Now Indonesia’s moving to protect its coasts by restoring thousands of miles of mangrove swamps.